Hello Kevin, > "Michael Kerrisk" <[EMAIL PROTECTED]> writes: > > > > Does the clog2() man page have the same problem? > > Yes I think so. > > Does that function exist in the library at the moment though? Trying > > gcc clog2.c -lm > > on the file below gives > > /tmp/ccHc7oB9.o: In function `main': > clog2.c:(.text+0x31): undefined reference to `clog2' > collect2: ld returned 1 exit status
Yes, this function is still vapourware. See the modified man page below, which will appear in 2.41. Thanks Michael CLOG2(3) complex math routines CLOG2(3) NAME clog2, clog2f, clog2l - base-2 logarithm of a complex number SYNOPSIS #include <complex.h> double complex clog2(double complex z); float complex clog2f(float complex z); long double complex clog2l(long double complex z); DESCRIPTION The call clog2(z) is equivalent to clog(z)/log(2). The other functions perform the same task for float and long double. Note that z close to zero will cause an overflow. CONFORMING TO These function names are reserved for future use in C99. AVAILABILITY Not yet in glibc, as at version 2.4. SEE ALSO cabs(3), cexp(3), clog(3), clog10(3), complex(7) -- Michael Kerrisk maintainer of Linux man pages Sections 2, 3, 4, 5, and 7 Want to help with man page maintenance? Grab the latest tarball at ftp://ftp.win.tue.nl/pub/linux-local/manpages/, read the HOWTOHELP file and grep the source files for 'FIXME'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]