Conversion between Exponential and Logarithmic Functions