1LOG10(3)                   Linux Programmer's Manual                  LOG10(3)
2
3
4

NAME

6       log10, log10f, log10l -  base-10 logarithmic function
7

SYNOPSIS

9       #include <math.h>
10
11       double log10(double x);
12       float log10f(float x);
13       long double log10l(long double x);
14
15       Link with -lm.
16

DESCRIPTION

18       The log10() function returns the base 10 logarithm of x.
19

ERRORS

21       The log10() function can return the following errors:
22
23       EDOM   The argument x is negative.
24
25       ERANGE The argument x is zero.  The log of zero is not defined.
26

CONFORMING TO

28       SVr4, 4.3BSD, C89.  The float and long double variants are C99 require‐
29       ments.
30

SEE ALSO

32       cbrt(3), clog10(3), sqrt(3)
33
34
35
36                                  2002-07-27                          LOG10(3)
Impressum