]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/clog10.3
man*/: ffix (un-bracket tables)
[thirdparty/man-pages.git] / man3 / clog10.3
1 '\" t
2 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\"
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
5 .\"
6 .TH clog10 3 (date) "Linux man-pages (unreleased)"
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 .PP
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 .PP
26 .in +4n
27 .EX
28 clog(z)/log(10)
29 .EE
30 .in
31 .PP
32 or equally:
33 .PP
34 .in +4n
35 .EX
36 log10(cabs(c)) + I * carg(c) / log(10)
37 .EE
38 .in
39 .PP
40 The other functions perform the same task for
41 .I float
42 and
43 .IR "long double" .
44 .PP
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 .sp 1
65 .SH STANDARDS
66 GNU.
67 .SH HISTORY
68 glibc 2.1.
69 .PP
70 The identifiers are reserved for future use in C99 and C11.
71 .SH SEE ALSO
72 .BR cabs (3),
73 .BR cexp (3),
74 .BR clog (3),
75 .BR clog2 (3),
76 .BR complex (7)