Return the logarithm of their arguments.
#include <math.h> double log (double x); double log10 (double x);
The log10 functions performs a base 10 logarithm.
x | The logarithm of the argument (in the appropriate base). |
-HUGE_ VAL | Indicates that the argument is 0 or negative; errno is set to ERANGE. |