OSDN Git Service

71e8002f1b134696b2e8d004dfa1ae4734857e3b
[linuxjm/LDP_man-pages.git] / original / man3 / clog2.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 CLOG2 3 2013-07-23 "" "Linux Programmer's Manual"
8 .SH NAME
9 clog2, clog2f, clog2l \- base-2 logarithm of a complex number
10 .SH SYNOPSIS
11 .B #include <complex.h>
12 .sp
13 .BI "double complex clog2(double complex " z );
14 .br
15 .BI "float complex clog2f(float complex " z );
16 .br
17 .BI "long double complex clog2l(long double complex " z );
18 .\" .sp
19 .\" Link with \fI\-lm\fP.
20 .SH DESCRIPTION
21 The call
22 .I clog2(z)
23 is equivalent to
24 .IR clog(z)/log(2) .
25
26 The other functions perform the same task for
27 .I float
28 and
29 .IR "long double" .
30
31 Note that
32 .I z
33 close to zero will cause an overflow.
34 .SH CONFORMING TO
35 These function names are reserved for future use in C99.
36 .SH AVAILABILITY
37 Not yet in glibc, as at version 2.17.
38 .\" But reserved in NAMESPACE.
39 .SH SEE ALSO
40 .BR cabs (3),
41 .BR cexp (3),
42 .BR clog (3),
43 .BR clog10 (3),
44 .BR complex (7)
45 .SH COLOPHON
46 This page is part of release 3.64 of the Linux
47 .I man-pages
48 project.
49 A description of the project,
50 and information about reporting bugs,
51 can be found at
52 \%http://www.kernel.org/doc/man\-pages/.