7.12.6.7 The log functions
Synopsis
#include <math.h>
double log(double x);
float logf(float x);
long double logl(long double x);
Description
The log functions compute the base-e (natural) logarithm of x. A domain error occurs if the argument is negative. A range error may occur if the argument is zero.
Returns
The log functions return loge x.