ln
Computes the natural logarithm (base E
) of the value x.
Special cases:
ln(NaN)
isNaN
ln(x)
isNaN
whenx < 0.0
ln(+Inf)
is+Inf
ln(0.0)
is-Inf
Since Kotlin
1.2Computes the natural logarithm (base E
) of the value x.
Special cases:
ln(NaN)
isNaN
ln(x)
isNaN
whenx < 0.0
ln(+Inf)
is+Inf
ln(0.0)
is-Inf