]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) |
2 | .\" Distributed under GPL | |
3 | .\" | |
4 | .TH CLOG2 3 2002-07-28 "" "complex math routines" | |
5 | .SH NAME | |
6 | clog2, clog2f, clog2l \- base-2 logarithm of a complex number | |
7 | .SH SYNOPSIS | |
8 | .B #include <complex.h> | |
9 | .sp | |
10 | .BI "double complex clog2(double complex " z ); | |
d39541ec | 11 | .br |
fea681da | 12 | .BI "float complex clog2f(float complex " z ); |
d39541ec | 13 | .br |
fea681da | 14 | .BI "long double complex clog2l(long double complex " z ); |
988517ae MK |
15 | .\" .sp |
16 | .\" Link with \-lm. | |
fea681da | 17 | .SH DESCRIPTION |
c13182ef | 18 | The call |
988517ae MK |
19 | .I clog2(z) |
20 | is equivalent to | |
21 | .IR clog(z)/log(2) . | |
22 | ||
c13182ef | 23 | The other functions perform the same task for |
988517ae | 24 | .I float |
c13182ef | 25 | and |
988517ae MK |
26 | .IR "long double" . |
27 | ||
c13182ef MK |
28 | Note that |
29 | .I z | |
30 | close to zero will cause an overflow. | |
fea681da | 31 | .SH "CONFORMING TO" |
68e1685c | 32 | These function names are reserved for future use in C99. |
fea681da | 33 | .SH AVAILABILITY |
68e1685c | 34 | Not yet in glibc, as at version 2.4. |
fea681da MK |
35 | .\" But reserved in NAMESPACE. |
36 | .SH "SEE ALSO" | |
37 | .BR cabs (3), | |
38 | .BR cexp (3), | |
39 | .BR clog (3), | |
40 | .BR clog10 (3), | |
a8bda636 | 41 | .BR complex (7) |