]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/clog10.3
fanotify_init.2, fanotify.7: Document FAN_REPORT_TID
[thirdparty/man-pages.git] / man3 / clog10.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
5 .\" %%%LICENSE_END
6 .\"
7 .TH CLOG10 3 2017-09-15 "" "Linux Programmer's Manual"
8 .SH NAME
9 clog10, clog10f, clog10l \- base-10 logarithm of a complex number
10 .SH SYNOPSIS
11 .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
12 .br
13 .B #include <complex.h>
14 .PP
15 .BI "double complex clog10(double complex " z );
16 .br
17 .BI "float complex clog10f(float complex " z );
18 .br
19 .BI "long double complex clog10l(long double complex " z );
20 .PP
21 Link with \fI\-lm\fP.
22 .SH DESCRIPTION
23 The call
24 .I clog10(z)
25 is equivalent to:
26 .PP
27 clog(z)/log(10)
28 .PP
29 or equally:
30 .PP
31 log10(cabs(c)) + I * carg(c) / log(10)
32 .PP
33 The other functions perform the same task for
34 .I float
35 and
36 .IR "long double" .
37 .PP
38 Note that
39 .I z
40 close to zero will cause an overflow.
41 .SH VERSIONS
42 These functions first appeared in glibc in version 2.1.
43 .SH ATTRIBUTES
44 For an explanation of the terms used in this section, see
45 .BR attributes (7).
46 .TS
47 allbox;
48 lbw30 lb lb
49 l l l.
50 Interface Attribute Value
51 T{
52 .BR clog10 (),
53 .BR clog10f (),
54 .BR clog10l ()
55 T} Thread safety MT-Safe
56 .TE
57 .SH CONFORMING TO
58 These functions are GNU extensions.
59 The identifiers are reserved for future use in C99 and C11.
60 .SH SEE ALSO
61 .BR cabs (3),
62 .BR cexp (3),
63 .BR clog (3),
64 .BR clog2 (3),
65 .BR complex (7)