man-pages/man3/clog2.3

42 lines
927 B
Groff
Raw Normal View History

2004-11-03 13:51:07 +00:00
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.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 );
.br
2004-11-03 13:51:07 +00:00
.BI "float complex clog2f(float complex " z );
.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
The call
2006-09-07 07:49:41 +00:00
.I clog2(z)
is equivalent to
.IR clog(z)/log(2) .
The other functions perform the same task for
2006-09-07 07:49:41 +00:00
.I float
and
2006-09-07 07:49:41 +00:00
.IR "long double" .
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)