changeset 15294:b9224776823f

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 19 Jun 2011 14:41:22 +0200
parents f889ffd9dd51
children ad0991531a64
files ChangeLog doc/posix-functions/ceil.texi doc/posix-functions/round.texi modules/round-ieee
diffstat 4 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
--- a/doc/posix-functions/ceil.texi
+++ b/doc/posix-functions/ceil.texi
@@ -15,7 +15,7 @@
 @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:
--- a/doc/posix-functions/round.texi
+++ b/doc/posix-functions/round.texi
@@ -22,6 +22,10 @@
 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.
--- a/modules/round-ieee
+++ b/modules/round-ieee
@@ -8,6 +8,8 @@
 
 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