summaryrefslogtreecommitdiff
path: root/doc/posix-functions/remainderf.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-02-27 19:33:31 +0100
committerBruno Haible <bruno@clisp.org>2012-02-27 20:38:22 +0100
commitbc18fb52e080546bd6f048be78cf04968797a191 (patch)
treedb8a6d5fefd2ecc8e06f28b4b11a6dd44109c333 /doc/posix-functions/remainderf.texi
parenta66795fc04d933313f4030b87d9da582555e78d7 (diff)
downloadgnulib-bc18fb52e080546bd6f048be78cf04968797a191.tar.gz
remainderf-ieee: Work around test failure on OSF/1.
* m4/remainderf-ieee.m4: New file. * m4/remainderf.m4 (gl_FUNC_REMAINDERF): If gl_FUNC_REMAINDERF_IEEE is present, test whether remainderf works with a zero second argument. Replace it if not. * lib/math.in.h (remainderf): Override if REPLACE_REMAINDERF is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_REMAINDERF. * modules/math (Makefile.am): Substitute REPLACE_REMAINDERF. * modules/remainderf (configure.ac): Consider REPLACE_REMAINDERF. (Depends-on): Update conditions. * modules/remainderf-ieee (Files): Add m4/remainderf-ieee.m4. (Depends-on): Add remainder-ieee. (configure.ac): Invoke gl_FUNC_REMAINDERF_IEEE. * doc/posix-functions/remainderf.texi: Mention the remainderf-ieee module.
Diffstat (limited to 'doc/posix-functions/remainderf.texi')
-rw-r--r--doc/posix-functions/remainderf.texi11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/posix-functions/remainderf.texi b/doc/posix-functions/remainderf.texi
index 7e2ddee104..22283190c7 100644
--- a/doc/posix-functions/remainderf.texi
+++ b/doc/posix-functions/remainderf.texi
@@ -4,15 +4,22 @@
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/remainderf.html}
-Gnulib module: remainderf
+Gnulib module: remainderf or remainderf-ieee
-Portability problems fixed by Gnulib:
+Portability problems fixed by either Gnulib module @code{remainderf} or @code{remainderf-ieee}:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 9, MSVC 9.
@end itemize
+Portability problems fixed by Gnulib module @code{remainderf-ieee}:
+@itemize
+@item
+This function has problems when the second argument is zero on some platforms:
+OSF/1 5.1.
+@end itemize
+
Portability problems not fixed by Gnulib:
@itemize
@end itemize