]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/clog10.3
dlinfo.3: ATTRIBUTES: Note function that is thread-safe
[thirdparty/man-pages.git] / man3 / clog10.3
CommitLineData
fea681da 1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2297bf0e 2.\"
38f20bb9 3.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
fea681da 4.\" Distributed under GPL
38f20bb9 5.\" %%%LICENSE_END
fea681da 6.\"
fe0fefbf 7.TH CLOG10 3 2015-03-02 "" "Linux Programmer's Manual"
fea681da
MK
8.SH NAME
9clog10, clog10f, clog10l \- base-10 logarithm of a complex number
10.SH SYNOPSIS
b80f966b 11.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
fea681da
MK
12.br
13.B #include <complex.h>
14.sp
15.BI "double complex clog10(double complex " z );
d39541ec 16.br
fea681da 17.BI "float complex clog10f(float complex " z );
d39541ec 18.br
fea681da
MK
19.BI "long double complex clog10l(long double complex " z );
20.sp
20c58d70 21Link with \fI\-lm\fP.
fea681da 22.SH DESCRIPTION
c13182ef 23The call
3b2049e5 24.I clog10(z)
e17f9d28 25is equivalent to
2c81ad3b 26.IR clog(z)/log(10) .
c13182ef 27The other functions perform the same task for
3b2049e5 28.I float
c13182ef 29and
3b2049e5
MK
30.IR "long double" .
31
c13182ef
MK
32Note that
33.I z
34close to zero will cause an overflow.
f0d7ce1d
MK
35.SH VERSIONS
36These functions first appeared in glibc in version 2.1.
d351212c
MS
37.SH ATTRIBUTES
38For an explanation of the terms used in this section, see
39.BR attributes (7).
40.TS
41allbox;
42lbw30 lb lb
43l l l.
44Interface Attribute Value
45T{
46.BR clog10 (),
47.BR clog10f (),
48.BR clog10l ()
49T} Thread safety MT-Safe
50.TE
47297adb 51.SH CONFORMING TO
6cf65aa6 52These functions are GNU extensions.
fea681da 53It is reserved for future use in C99.
47297adb 54.SH SEE ALSO
fea681da
MK
55.BR cabs (3),
56.BR cexp (3),
57.BR clog (3),
58.BR clog2 (3),
0a4f8b7b 59.BR complex (7)