1CLOG10(3) Linux Programmer's Manual CLOG10(3)
2
3
4
6 clog10, clog10f, clog10l - base-10 logarithm of a complex number
7
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
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
32 These functions first appeared in glibc in version 2.1.
33
35 For an explanation of the terms used in this section, see
36 attributes(7).
37
38 ┌───────────────────────────────┬───────────────┬─────────┐
39 │Interface │ Attribute │ Value │
40 ├───────────────────────────────┼───────────────┼─────────┤
41 │clog10(), clog10f(), clog10l() │ Thread safety │ MT-Safe │
42 └───────────────────────────────┴───────────────┴─────────┘
44 These functions are GNU extensions. The identifiers are reserved for
45 future use in C99 and C11.
46
48 cabs(3), cexp(3), clog(3), clog2(3), complex(7)
49
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)