Navigation
Synopsis Calculate the natural log of a numeric value.
Function real ln(num x)
Usage import util::Math;
Description Calculate natural log of x.
Examples
rascal>import util::Math;
ok
rascal>ln(20.0)
real: 2.9957322736
rascal>ln(42.0)
real: 3.7376696183
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.