Converting logs to exponents