ln function

Syntax

  • float ln(float value)

Returns

Natural logarithm of value.

Description

The ln function calculates the natural logarithm of value. The natural logarithm is the base-e logarithm, the inverse of the natural exponential function (exp). For base-10 logarithms, use the function log10.

Related


In this topic