Log (open)
Returns the natural logarithm of a value.
Syntax
LOADLIB "wh::float.whlib";
FLOAT FUNCTION Log(FLOAT value)
Parameters
FLOAT value
The FLOAT value from which to determine the natural logarithm. It must be larger than zero.
Return value
FLOAT
The natural logarithm of @italic value
Description
This function calculates the natural logarithm of value. The base for this calculation is @italic e.
Examples
// The FLOAT value will be 1.0
FLOAT f := Log(e);