Compute the base 10 logarithms.
Compatibility:This function is compatible with the following targets:
|
|
#include <math.h>
double log10(double x);
float log10f(float);
long double log10l(long double);Parameters:
Parameters for this function are:
log10() returns log10x. If x < 0 log10() may assign EDOM to errno. See "Floating point error testing.," for information on newer error testing procedures.
"log(), log10() example"