From: Bruno Haible Date: Sun, 19 Jun 2011 12:41:22 +0000 (+0200) Subject: round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1. X-Git-Tag: v0.1~2232 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=a111084192c1d6768cddd62614fa8234d41db34d;p=gnulib.git 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 index 74dd189df..d26cd3708 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 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. * 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 d11c790b7..d6c94d51e 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 cf3189b31..c9f55a4b2 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 3cdedca72..407e781df 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