]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/clog10.3
dlinfo.3: ATTRIBUTES: Note function that is thread-safe
[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 2015-03-02 "" "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 .sp
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 .sp
21 Link with \fI\-lm\fP.
22 .SH DESCRIPTION
23 The call
24 .I clog10(z)
25 is equivalent to
26 .IR clog(z)/log(10) .
27 The other functions perform the same task for
28 .I float
29 and
30 .IR "long double" .
31
32 Note that
33 .I z
34 close to zero will cause an overflow.
35 .SH VERSIONS
36 These functions first appeared in glibc in version 2.1.
37 .SH ATTRIBUTES
38 For an explanation of the terms used in this section, see
39 .BR attributes (7).
40 .TS
41 allbox;
42 lbw30 lb lb
43 l l l.
44 Interface Attribute Value
45 T{
46 .BR clog10 (),
47 .BR clog10f (),
48 .BR clog10l ()
49 T} Thread safety MT-Safe
50 .TE
51 .SH CONFORMING TO
52 These functions are GNU extensions.
53 It is reserved for future use in C99.
54 .SH SEE ALSO
55 .BR cabs (3),
56 .BR cexp (3),
57 .BR clog (3),
58 .BR clog2 (3),
59 .BR complex (7)