2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
|
|
|
|
.\" Distributed under GPL
|
|
|
|
.\"
|
2007-05-18 08:43:42 +00:00
|
|
|
.TH CLOG2 3 2002-07-28 "" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH NAME
|
|
|
|
clog2, clog2f, clog2l \- base-2 logarithm of a complex number
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B #include <complex.h>
|
|
|
|
.sp
|
|
|
|
.BI "double complex clog2(double complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "float complex clog2f(float complex " z );
|
2004-11-11 17:28:42 +00:00
|
|
|
.br
|
2004-11-03 13:51:07 +00:00
|
|
|
.BI "long double complex clog2l(long double complex " z );
|
2006-09-07 07:49:41 +00:00
|
|
|
.\" .sp
|
2007-07-21 05:25:03 +00:00
|
|
|
.\" Link with \fI\-lm\fP.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH DESCRIPTION
|
2007-04-12 22:42:49 +00:00
|
|
|
The call
|
2006-09-07 07:49:41 +00:00
|
|
|
.I clog2(z)
|
|
|
|
is equivalent to
|
|
|
|
.IR clog(z)/log(2) .
|
|
|
|
|
2007-04-12 22:42:49 +00:00
|
|
|
The other functions perform the same task for
|
2006-09-07 07:49:41 +00:00
|
|
|
.I float
|
2007-04-12 22:42:49 +00:00
|
|
|
and
|
2006-09-07 07:49:41 +00:00
|
|
|
.IR "long double" .
|
|
|
|
|
2007-04-12 22:42:49 +00:00
|
|
|
Note that
|
|
|
|
.I z
|
|
|
|
close to zero will cause an overflow.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH "CONFORMING TO"
|
2006-08-03 13:57:30 +00:00
|
|
|
These function names are reserved for future use in C99.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH AVAILABILITY
|
2006-08-03 13:57:30 +00:00
|
|
|
Not yet in glibc, as at version 2.4.
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" But reserved in NAMESPACE.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR cabs (3),
|
|
|
|
.BR cexp (3),
|
|
|
|
.BR clog (3),
|
|
|
|
.BR clog10 (3),
|
2006-04-21 01:24:06 +00:00
|
|
|
.BR complex (7)
|