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 at‐
36       tributes(7).
37
38       ┌────────────────────────────────────────────┬───────────────┬─────────┐
39Interface                                   Attribute     Value   
40       ├────────────────────────────────────────────┼───────────────┼─────────┤
41clog10(), clog10f(), clog10l()              │ Thread safety │ MT-Safe │
42       └────────────────────────────────────────────┴───────────────┴─────────┘
43

CONFORMING TO

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

SEE ALSO

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

COLOPHON

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