log10 functions


[Syntax]

double log10(double x)

float log10f(float x)

long double log10l(long double x) [V2.01.00 or later]

[Description]

These functions calculate the common logarithm of x with 10 as the base.

 

[Special case]

Condition

Return value

Exception

x<0

NaN

EDOM

x==0

-∞

ERANGE