Syntax #include <math.h> double log10(double x); float log10f(float x);
#include <math.h> double log10(double x); float log10f(float x);
Arguments x
x
Return Value The common logarithm of x
The common logarithm of x
Description
Calculates the common logarithm of x using the following formula:
log10(x) = log(x) / log(10)