log()

The mathLib.log() system function returns the natural logarithm of a number.

Syntax

  mathLib.log(numericVariable FLOAT in)
  returns (result FLOAT)
numericVariable
Input can be any variable or expression that is assignment compatible with the FLOAT type (see "Assignment compatibility in EGL"). The natural logarithm of numericVariable is returned as a FLOAT.
result
The natural logarithm of numericVariable is returned as a FLOAT that is greater than 0.

Example

  result = mathLib.log(myVar);

Feedback