Fixed rounding error in exponent