diff doc/posix-functions/log10f.texi @ 16747:676471a1cb33

log10f-ieee: Work around test failure on NetBSD 5.1. * m4/log10f-ieee.m4: New file. * m4/log10f.m4 (gl_FUNC_LOG10F): If gl_FUNC_LOG10F_IEEE is present, test whether log10f works with a negative argument. Replace it if not. * lib/log10f.c (log10f): For negative arguments, return NaN. * modules/log10f-ieee (Files): Add m4/log10f-ieee.m4. (configure.ac): Invoke gl_FUNC_LOG10F_IEEE. * doc/posix-functions/log10f.texi: Mention the log10f-ieee module.
author Bruno Haible <bruno@clisp.org>
date Sun, 01 Apr 2012 17:56:33 +0200
parents 6828b991e3b9
children
line wrap: on
line diff
--- a/doc/posix-functions/log10f.texi
+++ b/doc/posix-functions/log10f.texi
@@ -4,9 +4,9 @@
 
 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log10f.html}
 
-Gnulib module: log10f
+Gnulib module: log10f or log10f-ieee
 
-Portability problems fixed by Gnulib:
+Portability problems fixed by either Gnulib module @code{log10f} or @code{log10f-ieee}:
 @itemize
 @item
 This function is missing on some platforms:
@@ -19,6 +19,13 @@
 OSF/1 5.1.
 @end itemize
 
+Portability problems fixed by Gnulib module @code{log10f-ieee}:
+@itemize
+@item
+This function returns a wrong value for a negative argument on some platforms:
+NetBSD 5.1.
+@end itemize
+
 Portability problems not fixed by Gnulib:
 @itemize
 @end itemize