Math.expm1(x) Returns subtracting 1 from exp(x). Math.log(x) Returns the natural logarithm (loge, also ln) of x. Math.log1p(x) Returns the natural logarithm (loge,.