log

Example

 float log ( float $arg [, float $base = M_E ] ) 

Description

If the optional base parameter is specified, log() returns logbase arg, otherwise log() returns the natural logarithm of arg.

Return Values

The logarithm of arg to base, if given, or the natural logarithm.