log(x)

Logarithm of x at base e.

Parameters:

x - any number.

Returns:

Logarithm of x to base e.

Speed:

Fast

Example:

x = log(1); // x is now 0 
x = log(2.178); // x is now 1 (2.178 is an approximation to the constant e).

See also:

exp, pow, sqrt