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

NAME

6       clog10, clog10f, clog10l - base-10 logarithm of a complex number
7

SYNOPSIS

9       #define _GNU_SOURCE         /* See feature_test_macros(7) */
10       #include <complex.h>
11
12       double complex clog10(double complex z);
13       float complex clog10f(float complex z);
14       long double complex clog10l(long double complex z);
15
16       Link with -lm.
17

DESCRIPTION

19       The call clog10(z) is equivalent to:
20
21           clog(z)/log(10)
22
23       or equally:
24
25           log10(cabs(c)) + I * carg(c) / log(10)
26
27       The other functions perform the same task for float and long double.
28
29       Note that z close to zero will cause an overflow.
30

VERSIONS

32       These functions first appeared in glibc in version 2.1.
33

ATTRIBUTES

35       For   an   explanation   of   the  terms  used  in  this  section,  see
36       attributes(7).
37
38       ┌───────────────────────────────┬───────────────┬─────────┐
39Interface                      Attribute     Value   
40       ├───────────────────────────────┼───────────────┼─────────┤
41clog10(), clog10f(), clog10l() │ Thread safety │ MT-Safe │
42       └───────────────────────────────┴───────────────┴─────────┘

CONFORMING TO

44       These functions are GNU extensions.  The identifiers are  reserved  for
45       future use in C99 and C11.
46

SEE ALSO

48       cabs(3), cexp(3), clog(3), clog2(3), complex(7)
49

COLOPHON

51       This  page  is  part of release 5.04 of the Linux man-pages project.  A
52       description of the project, information about reporting bugs,  and  the
53       latest     version     of     this    page,    can    be    found    at
54       https://www.kernel.org/doc/man-pages/.
55
56
57
58                                  2017-09-15                         CLOG10(3)
Impressum