Hash :
1ab17d9f
Author :
Date :
2012-04-03T18:59:33
New module 'ilogb'. * lib/math.in.h (ilogb): New declaration. * lib/ilogb.c: New file. * m4/ilogb.m4: New file. * m4/math_h.m4 (gl_MATH_H): Test whether ilogb is declared. (gl_MATH_H_DEFAULTS): Initialize GNULIB_ILOGB, HAVE_ILOGB, REPLACE_ILOGB. * modules/math (Makefile.am): Substitute GNULIB_ILOGB, HAVE_ILOGB, REPLACE_ILOGB. * modules/ilogb: New file. * tests/test-math-c++.cc: Check the declaration of ilogb. * doc/posix-functions/ilogb.texi: Mention the new module.
@node ilogb
@section @code{ilogb}
@findex ilogb
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/ilogb.html}
Gnulib module: ilogb
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, IRIX 5.3, MSVC 9.
@item
This function returns a wrong result for a zero argument on some platforms:
OpenBSD 4.9, AIX 5.1.
@item
This function returns a wrong result for an infinite argument on some platforms:
NetBSD 5.1, OpenBSD 4.9.
@item
This function returns a wrong result for a NaN argument on some platforms:
OpenBSD 4.9.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize