# HG changeset patch # User Bruno Haible # Date 1308487282 -7200 # Node ID b9224776823f8988ef36f61ebc680bb850fc1116 # Parent f889ffd9dd5108614d14014ea7838a5c2b02239c 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-06-19 Bruno Haible + + 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 roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1. diff --git a/doc/posix-functions/ceil.texi b/doc/posix-functions/ceil.texi --- 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: diff --git a/doc/posix-functions/round.texi b/doc/posix-functions/round.texi --- 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. diff --git a/modules/round-ieee b/modules/round-ieee --- 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