log (Function) |
Top Previous Next |
This function will calculate the natural logarithm of the argument.
Note: This function works with DOUBLE, but can also work with FLOAT as described in the Floating-point math introductory section.
Input: V : DOUBLE Value.
Returns: DOUBLE The natural logarithm of V. If the value is 0, -Infinity is returned. If the value is less than 0, NaN is returned.
Declaration: FUNCTION log : DOUBLE;
Example: INCLUDE rtcu.inc |