]>
Commit | Line | Data |
---|---|---|
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 | .\" |
4b8c67d9 | 7 | .TH CLOG2 3 2017-09-15 "" "Linux Programmer's Manual" |
fea681da MK |
8 | .SH NAME |
9 | clog2, clog2f, clog2l \- base-2 logarithm of a complex number | |
10 | .SH SYNOPSIS | |
11 | .B #include <complex.h> | |
68e4db0a | 12 | .PP |
fea681da | 13 | .BI "double complex clog2(double complex " z ); |
d39541ec | 14 | .br |
fea681da | 15 | .BI "float complex clog2f(float complex " z ); |
d39541ec | 16 | .br |
fea681da | 17 | .BI "long double complex clog2l(long double complex " z ); |
68e4db0a | 18 | .\" .PP |
20c58d70 | 19 | .\" Link with \fI\-lm\fP. |
fea681da | 20 | .SH DESCRIPTION |
c13182ef | 21 | The call |
988517ae MK |
22 | .I clog2(z) |
23 | is equivalent to | |
24 | .IR clog(z)/log(2) . | |
847e0d88 | 25 | .PP |
c13182ef | 26 | The other functions perform the same task for |
988517ae | 27 | .I float |
c13182ef | 28 | and |
988517ae | 29 | .IR "long double" . |
847e0d88 | 30 | .PP |
c13182ef MK |
31 | Note that |
32 | .I z | |
33 | close to zero will cause an overflow. | |
47297adb | 34 | .SH CONFORMING TO |
68e1685c | 35 | These function names are reserved for future use in C99. |
fea681da | 36 | .SH AVAILABILITY |
f3d2d8bd | 37 | Not yet in glibc, as at version 2.19. |
fea681da | 38 | .\" But reserved in NAMESPACE. |
47297adb | 39 | .SH SEE ALSO |
fea681da MK |
40 | .BR cabs (3), |
41 | .BR cexp (3), | |
42 | .BR clog (3), | |
43 | .BR clog10 (3), | |
a8bda636 | 44 | .BR complex (7) |