LOG - logarithmic function.

(ANSI Standard)

Usage:

#include <math.h>
y = log( x );

Where:

double x, y;
 

Description:

"log" returns the natural logarithm of "x". If "x" is non-positive, "log" returns a huge negative value and sets "errno" to EDOM. If "x" is zero, "log" sets "errno" to ERANGE.

See Also:

expl c lib errno

Copyright © 1996, Thinkage Ltd.