Math Library Functions


log10, log10f


Syntax

#include <math.h>
double log10(double x);
float  log10f(float x);

Arguments

x

Return Value

The common logarithm of x 

Description

Calculates the common logarithm of x using the following formula:

log10(x) = log(x) / log(10)