Debian Codegraph @

upstream/debian-trixie/man3/clog10.3

raw
1 '\" t
2 .\" Copyright 2002 Walter Harms ([email protected])
3 .\"
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
5 .\"
6 .TH clog10 3 2024-05-02 "Linux man-pages 6.9.1"
7 .SH NAME
8 clog10, clog10f, clog10l \- base-10 logarithm of a complex number
9 .SH LIBRARY
10 Math library
11 .RI ( libm ", " \-lm )
12 .SH SYNOPSIS
13 .nf
14 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
15 .B #include <complex.h>
16 .P
17 .BI "double complex clog10(double complex " z );
18 .BI "float complex clog10f(float complex " z );
19 .BI "long double complex clog10l(long double complex " z );
20 .fi
21 .SH DESCRIPTION
22 The call
23 .I clog10(z)
24 is equivalent to:
25 .P
26 .in +4n
27 .EX
28 clog(z)/log(10)
29 .EE
30 .in
31 .P
32 or equally:
33 .P
34 .in +4n
35 .EX
36 log10(cabs(c)) + I * carg(c) / log(10)
37 .EE
38 .in
39 .P
40 The other functions perform the same task for
41 .I float
42 and
43 .IR "long double" .
44 .P
45 Note that
46 .I z
47 close to zero will cause an overflow.
48 .SH ATTRIBUTES
49 For an explanation of the terms used in this section, see
50 .BR attributes (7).
51 .TS
52 allbox;
53 lbx lb lb
54 l l l.
55 Interface Attribute Value
56 T{
57 .na
58 .nh
59 .BR clog10 (),
60 .BR clog10f (),
61 .BR clog10l ()
62 T} Thread safety MT-Safe
63 .TE
64 .SH STANDARDS
65 GNU.
66 .SH HISTORY
67 glibc 2.1.
68 .P
69 The identifiers are reserved for future use in C99 and C11.
70 .SH SEE ALSO
71 .BR cabs (3),
72 .BR cexp (3),
73 .BR clog (3),
74 .BR clog2 (3),
75 .BR complex (7)