1clog10(3) Library Functions Manual clog10(3)
2
3
4
6 clog10, clog10f, clog10l - base-10 logarithm of a complex number
7
9 Math library (libm, -lm)
10
12 #define _GNU_SOURCE /* See feature_test_macros(7) */
13 #include <complex.h>
14
15 double complex clog10(double complex z);
16 float complex clog10f(float complex z);
17 long double complex clog10l(long double complex z);
18
20 The call clog10(z) is equivalent to:
21
22 clog(z)/log(10)
23
24 or equally:
25
26 log10(cabs(c)) + I * carg(c) / log(10)
27
28 The other functions perform the same task for float and long double.
29
30 Note that z close to zero will cause an overflow.
31
33 For an explanation of the terms used in this section, see at‐
34 tributes(7).
35
36 ┌────────────────────────────────────────────┬───────────────┬─────────┐
37 │Interface │ Attribute │ Value │
38 ├────────────────────────────────────────────┼───────────────┼─────────┤
39 │clog10(), clog10f(), clog10l() │ Thread safety │ MT-Safe │
40 └────────────────────────────────────────────┴───────────────┴─────────┘
41
43 GNU.
44
46 glibc 2.1.
47
48 The identifiers are reserved for future use in C99 and C11.
49
51 cabs(3), cexp(3), clog(3), clog2(3), complex(7)
52
53
54
55Linux man-pages 6.05 2023-07-20 clog10(3)