Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

log float

log is NOT undoable, NOT queryable, and NOT editable.

The log function returns the natural log (ln) of its argument x.

Also available:
log1p : Returns log(1 + x).
log10 : Returns the log base 10 of its argument.
To obtain a number raised to a power use the "^" operator.

Return value

floatLogarithm value

Related

exp, pow, sqrt

MEL examples

log 3.5;
// Result:, 1.252763 //