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/log.texi
Bruno Haible 810183441d log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
* m4/log-ieee.m4: New file.
* m4/log.m4 (gl_FUNC_LOG): If gl_FUNC_LOG_IEEE is present, test whether
log works with a negative argument. Replace it if not.
* lib/log.c (log): For negative arguments, return NaN.
* modules/log-ieee (Files): Add m4/log-ieee.m4.
(configure.ac): Invoke gl_FUNC_LOG_IEEE.
* doc/posix-functions/log.texi: Mention the log-ieee module.
2012-03-10 16:08:03 +01:00

26 lines
639 B
Plaintext

@node log
@section @code{log}
@findex log
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log.html}
Gnulib module: log or log-ieee
Portability problems fixed by either Gnulib module @code{log} or @code{log-ieee}:
@itemize
@item
This function returns a wrong value for a minus zero argument on some platforms:
OSF/1 5.1.
@end itemize
Portability problems fixed by Gnulib module @code{log-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