summaryrefslogtreecommitdiff
path: root/doc/posix-functions/exp2l.texi
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-03-09 02:14:26 +0100
committerBruno Haible <bruno@clisp.org>2012-03-09 02:15:40 +0100
commitaa42b5455c7a66de3882ba5870fee8abeb379498 (patch)
treed3044d00bd33cd5e7f92eb168d313a6c9183c46b /doc/posix-functions/exp2l.texi
parentf61c11e448791a8977beeb8dcd52bfee225e3ca0 (diff)
downloadgnulib-aa42b5455c7a66de3882ba5870fee8abeb379498.tar.gz
exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.
* m4/exp2l-ieee.m4: New file. * m4/exp2l.m4 (gl_FUNC_EXP2L): If gl_FUNC_EXP2L_IEEE is present, test whether exp2l works with a NaN argument and with a negative infinity argument. Replace it if not. * lib/math.in.h (exp2l): Override if REPLACE_EXP2L is 1. * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXP2L. * modules/math (Makefile.am): Substitute REPLACE_EXP2L. * modules/exp2l (configure.ac): Consider REPLACE_EXP2L. (Depends-on): Update conditions. * modules/exp2l-ieee (Files): Add m4/exp2l-ieee.m4. (configure.ac): Invoke gl_FUNC_EXP2L_IEEE. * doc/posix-functions/exp2l.texi: Mention the exp2l-ieee module.
Diffstat (limited to 'doc/posix-functions/exp2l.texi')
-rw-r--r--doc/posix-functions/exp2l.texi14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/posix-functions/exp2l.texi b/doc/posix-functions/exp2l.texi
index 8e963de8ab..3cb997a4ca 100644
--- a/doc/posix-functions/exp2l.texi
+++ b/doc/posix-functions/exp2l.texi
@@ -4,9 +4,9 @@
POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/exp2l.html}
-Gnulib module: exp2l
+Gnulib module: exp2l or exp2l-ieee
-Portability problems fixed by Gnulib:
+Portability problems fixed by either Gnulib module @code{exp2l} or @code{exp2l-ieee}:
@itemize
@item
This function is missing on some platforms:
@@ -16,6 +16,16 @@ This function is not declared on some platforms:
IRIX 6.5.
@end itemize
+Portability problems fixed by Gnulib module @code{exp2l-ieee}:
+@itemize
+@item
+This function returns a wrong value for a NaN argument on some platforms:
+OpenBSD 4.9.
+@item
+This function returns a wrong value for a negative infinity argument on some platforms:
+IRIX 6.5.
+@end itemize
+
Portability problems not fixed by Gnulib:
@itemize
@end itemize