Everything

log10l [V1.08 or later]


Obtain the logarithm with a base of 10

[Classification]

Mathematical library

[Syntax]

#include <math.h>

long double __far log10l(long double x); (C99)

[Return value]

Returns the logarithm of x with base 10.

log10l returns a Not-a-Number (NaN) and sets macro EDOM to global variable errno if x is negative.

If x is zero, it returns -∞ and sets macro ERANGE to global variable errno.

[Description]

This function calculates the logarithm of x with base 10.