This is the documentation for the development version. There are no official binaries for it; build it from the source code in git. Download links on these pages work only after the release. For the current release, see version 7.0.

Math::Log

Math::Log(x): float

Calculates natural logarithm.

Table 1. Parameters

x

number

Number to calculate natural logarithm of

Return

Natural logarithm of x.

println(Math::Log(2)); // Will print "0.693147"