share/mk/: Fix includes
[man-pages.git] / man3 / clog2.3
blobb406a42290c96bd7533f82ce9c0a668b108711b1
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\"
3 .\" SPDX-License-Identifier: GPL-1.0-or-later
4 .\"
5 .TH clog2 3 (date) "Linux man-pages (unreleased)"
6 .SH NAME
7 clog2, clog2f, clog2l \- base-2 logarithm of a complex number
8 .SH LIBRARY
9 Math library
10 .RI ( libm ", " \-lm )
11 .SH SYNOPSIS
12 .nf
13 .B #include <complex.h>
15 .BI "double complex clog2(double complex " z );
16 .BI "float complex clog2f(float complex " z );
17 .BI "long double complex clog2l(long double complex " z );
18 .fi
19 .SH DESCRIPTION
20 The call
21 .I clog2(z)
22 is equivalent to
23 .IR clog(z)/log(2) .
25 The other functions perform the same task for
26 .I float
27 and
28 .IR "long double" .
30 Note that
31 .I z
32 close to zero will cause an overflow.
33 .SH STANDARDS
34 None.
35 .SH HISTORY
36 These function names are reserved for future use in C99.
38 Not yet in glibc, as at glibc 2.19.
39 .\" But reserved in NAMESPACE.
40 .SH SEE ALSO
41 .BR cabs (3),
42 .BR cexp (3),
43 .BR clog (3),
44 .BR clog10 (3),
45 .BR complex (7)