summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-06-19 14:41:22 +0200
committerBruno Haible <bruno@clisp.org>2011-06-19 14:41:22 +0200
commita111084192c1d6768cddd62614fa8234d41db34d (patch)
treefe78610b54b919760d3961c3a768c3f11d2c2d03
parent24c9b888b26b84689b5da9558b6899e4b004a560 (diff)
downloadgnulib-a111084192c1d6768cddd62614fa8234d41db34d.tar.gz
round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
* modules/round-ieee (Depends-on): Add floor-ieee, ceil-ieee. * doc/posix-functions/round.texi: Mention problem with negative arguments. * doc/posix-functions/ceil.texi: Mention problem on OSF/1 5.1.
-rw-r--r--ChangeLog8
-rw-r--r--doc/posix-functions/ceil.texi2
-rw-r--r--doc/posix-functions/round.texi4
-rw-r--r--modules/round-ieee2
4 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 74dd189df3..d26cd37089 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2011-06-19 Bruno Haible <bruno@clisp.org>
+ round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
+ * modules/round-ieee (Depends-on): Add floor-ieee, ceil-ieee.
+ * doc/posix-functions/round.texi: Mention problem with negative
+ arguments.
+ * doc/posix-functions/ceil.texi: Mention problem on OSF/1 5.1.
+
+2011-06-19 Bruno Haible <bruno@clisp.org>
+
roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
* m4/roundf.m4 (gl_FUNC_ROUNDF): Test also the sign of roundf (-0.3f).
* modules/roundf-ieee (Depends-on): Add floorf-ieee, ceilf-ieee.
diff --git a/doc/posix-functions/ceil.texi b/doc/posix-functions/ceil.texi
index d11c790b7e..d6c94d51e8 100644
--- a/doc/posix-functions/ceil.texi
+++ b/doc/posix-functions/ceil.texi
@@ -15,7 +15,7 @@ Portability problems fixed by Gnulib module @code{ceil-ieee}:
@item
This function returns a positive zero for an argument between -1 and 0
on some platforms:
-AIX 7.1.
+AIX 7.1, OSF/1 5.1.
@item
This function returns a positive zero for a minus zero argument
on some platforms:
diff --git a/doc/posix-functions/round.texi b/doc/posix-functions/round.texi
index cf3189b314..c9f55a4b2b 100644
--- a/doc/posix-functions/round.texi
+++ b/doc/posix-functions/round.texi
@@ -22,6 +22,10 @@ NetBSD 3.0, AIX 7.1.
Portability problems fixed by Gnulib module @code{round-ieee}:
@itemize
@item
+This function returns a positive zero for an argument between -0.5 and 0
+on some platforms:
+AIX 7.1, OSF/1 5.1.
+@item
This function returns a positive zero for a minus zero argument
on some platforms:
OSF/1 5.1.
diff --git a/modules/round-ieee b/modules/round-ieee
index 3cdedca727..407e781df9 100644
--- a/modules/round-ieee
+++ b/modules/round-ieee
@@ -8,6 +8,8 @@ m4/signbit.m4
Depends-on:
round
+floor-ieee [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
+ceil-ieee [test $HAVE_DECL_ROUND = 0 || test $REPLACE_ROUND = 1]
configure.ac:
gl_FUNC_ROUND_IEEE