(ANSI Standard)
#include <math.h> y = log( x );
"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.
Copyright © 1996, Thinkage Ltd.