SMS dit: Exponential and logarithmic functions