1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-16 01:22:18 +03:00
Files
gnulib/doc/posix-functions/log2.texi
Bruno Haible 6bf08d5f79 log2-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
* m4/log2-ieee.m4: New file.
* m4/log2.m4 (gl_FUNC_LOG2): If gl_FUNC_LOG2_IEEE is present, test
whether log2 works with a minus zero argument. Replace it if not.
* modules/log2-ieee (Files): Add m4/log2-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG2_IEEE.
* doc/posix-functions/log2.texi: Mention the log2-ieee module.
2012-03-11 23:33:34 +01:00

39 lines
1.0 KiB
Plaintext

@node log2
@section @code{log2}
@findex log2
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log2.html}
Gnulib module: log2 or log2-ieee
Portability problems fixed by either Gnulib module @code{log2} or @code{log2-ieee}:
@itemize
@item
This function is missing on some platforms:
FreeBSD 6.0, NetBSD 3.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, older IRIX 6.5,
Solaris 9, MSVC 9, Interix 3.5.
@item
This function is not declared on some platforms:
IRIX 6.5.
@item
This function is only provided as a macro on some platforms:
Cygwin 1.5.x.
@item
This function returns a wrong value for a minus zero argument on some platforms:
OSF/1 5.1.
@item
This function returns slightly wrong values for exact powers of 2 on some platforms:
Cygwin 1.7.9.
@end itemize
Portability problems fixed by Gnulib module @code{log2-ieee}:
@itemize
@item
This function returns a wrong value for a negative argument on some platforms:
NetBSD 5.1, Solaris 11 2011-11.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@end itemize