c0de 0.3.0Diese Seite auf Deutsch

LOG ​

Returns the natural logarithm of a number.

The number must be greater than 0, otherwise INVALID_ARGUMENT is raised.

Parameters and results

  • value INTEGER|FLOAT: the number, greater than 0
  • result result FLOAT: the natural logarithm

Example

c0de
CALL c0de/math/LOG
    PARAMETER value amount ;
    RESULT result logarithm