Hash :
826cf481
Author :
Date :
2012-04-01T17:10:01
log10-ieee: Work around test failure on NetBSD 5.1 and Solaris 11. * m4/log10-ieee.m4: New file. * m4/log10.m4 (gl_FUNC_LOG10): If gl_FUNC_LOG10_IEEE is present, test whether log10 works with a negative argument. Replace it if not. * lib/log10.c (log10): For negative arguments, return NaN. * modules/log10-ieee (Files): Add m4/log10-ieee.m4. (configure.ac): Invoke gl_FUNC_LOG10_IEEE. * doc/posix-functions/log10.texi: Mention the log10-ieee module.
@node log10
@section @code{log10}
@findex log10
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log10.html}
Gnulib module: log10 or log10-ieee
Portability problems fixed by either Gnulib module @code{log10} or @code{log10-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{log10-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