round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Jun 2011 12:41:22 +0000 (14:41 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Jun 2011 12:41:22 +0000 (14:41 +0200)
* 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.

ChangeLog
doc/posix-functions/ceil.texi
doc/posix-functions/round.texi
modules/round-ieee

index 74dd189..d26cd37 100644 (file)
--- 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.
index d11c790..d6c94d5 100644 (file)
@@ -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:
index cf3189b..c9f55a4 100644 (file)
@@ -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.
index 3cdedca..407e781 100644 (file)
@@ -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