]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/clog10.3
_exit.2, bpf.2, cacheflush.2, capget.2, chdir.2, chmod.2, chroot.2, clock_getres...
[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.\"
97986708 7.TH CLOG10 3 2016-03-15 "" "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>
68e4db0a 14.PP
fea681da 15.BI "double complex clog10(double complex " z );
d39541ec 16.br
fea681da 17.BI "float complex clog10f(float complex " z );
d39541ec 18.br
fea681da 19.BI "long double complex clog10l(long double complex " z );
68e4db0a 20.PP
20c58d70 21Link with \fI\-lm\fP.
fea681da 22.SH DESCRIPTION
c13182ef 23The call
3b2049e5 24.I clog10(z)
d2229a2b
MK
25is equivalent to:
26
27 clog(z)/log(10)
28
29or equally:
30
31 log10(cabs(c)) + I * carg(c) / log(10)
32
c13182ef 33The other functions perform the same task for
3b2049e5 34.I float
c13182ef 35and
3b2049e5
MK
36.IR "long double" .
37
c13182ef
MK
38Note that
39.I z
40close to zero will cause an overflow.
f0d7ce1d
MK
41.SH VERSIONS
42These functions first appeared in glibc in version 2.1.
d351212c
MS
43.SH ATTRIBUTES
44For an explanation of the terms used in this section, see
45.BR attributes (7).
46.TS
47allbox;
48lbw30 lb lb
49l l l.
50Interface Attribute Value
51T{
52.BR clog10 (),
53.BR clog10f (),
54.BR clog10l ()
55T} Thread safety MT-Safe
56.TE
47297adb 57.SH CONFORMING TO
6cf65aa6 58These functions are GNU extensions.
d8334b03 59The identifiers are reserved for future use in C99 and C11.
47297adb 60.SH SEE ALSO
fea681da
MK
61.BR cabs (3),
62.BR cexp (3),
63.BR clog (3),
64.BR clog2 (3),
0a4f8b7b 65.BR complex (7)