Skip to content

ln

Natural logarithm (base e).

v = ln(number)

Returns log_e(number). number must be positive (or complex for the principal branch).

ln(exp(1)) % 1
ln(10) % 2.3026
  • log — Natural logarithm (base e).
  • exp — Natural exponential.