summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-04-01 17:10:01 +0200
committerBruno Haible <bruno@clisp.org>2012-04-01 17:10:01 +0200
commit826cf481e0ecd51490b450c6dfcca6bd16e613b3 (patch)
tree0b6c92a34593ab2007ced2d5be55172471bc2528 /doc
parent8809bab2c5b28a6a735e0caff85cb883cd1e0ca7 (diff)
downloadgnulib-826cf481e0ecd51490b450c6dfcca6bd16e613b3.tar.gz
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/posix-functions/log10.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/posix-functions/log10.texi b/doc/posix-functions/log10.texi
index 34936d13ea..0fd140d772 100644
--- a/doc/posix-functions/log10.texi
+++ b/doc/posix-functions/log10.texi
@@ -4,15 +4,22 @@
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/log10.html}
-Gnulib module: log10
+Gnulib module: log10 or log10-ieee
-Portability problems fixed by Gnulib:
+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