(ANSI Standard)
#include <math.h> y = log10( x );
"log10" returns the logarithm of "x" base 10. If "x" is non-positive, "log10" returns a huge negative value and sets "errno" to EDOM. If "x" is zero, "log10" sets "errno" to ERANGE.
Copyright © 1996, Thinkage Ltd.