log [function]
log( x, y )
returns the base-`y` logarithm of x
, as real
- If
x <= 0
orb <= 0
orb = 1
, function returnsnull
and emits a warning message.
log( 9, 3 ); // real (2) log( -1, 3 ); // .. or .. log( 3, 0 ); // .. or .. log( 3, 1 ); // null; Warning: log(): mathematical error