Function log

Top 

 

Declaration:

float log(float x);

Description

The log function calculates the natural logarithm of the floating-point number val.

Returned function

The log function returns the natural logarithm of val. If val is negative or equal to 0, then the function will return _MINUS_INF.