roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
[pspp] / ChangeLog
index ef9564b9de3b1e9b14210d58fe0786dca2be2165..74dd189df302995aa9f8a8ef9d4cca15e64071e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,49 @@
+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.
+       * doc/posix-functions/roundf.texi: Mention problem with negative
+       arguments.
+       * doc/posix-functions/ceilf.texi: Mention problem on OSF/1 5.1.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceilf-ieee: Work around bug on MacOS X 10.5.
+       * doc/posix-functions/ceilf.texi: Mention the MacOS X 10.5 problem.
+
+       floor*-ieee, ceil*-ieee, trunc*-ieee, round*-ieee: More robust checks.
+       * m4/floorf.m4 (gl_FUNC_FLOORF): In the test whether the function is
+       IEEE compliant, avoid compiler optimizations.
+       * m4/floor.m4 (gl_FUNC_FLOOR): Likewise.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise.
+       * m4/ceil.m4 (gl_FUNC_CEIL): Likewise.
+       * m4/ceill.m4 (gl_FUNC_CEILL): Likewise.
+       * m4/truncf.m4 (gl_FUNC_TRUNCF): Likewise.
+       * m4/trunc.m4 (gl_FUNC_TRUNC): Likewise.
+       * m4/truncl.m4 (gl_FUNC_TRUNCL): Likewise.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Likewise.
+       * m4/round.m4 (gl_FUNC_ROUND): Likewise.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Likewise.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceilf-ieee: Work around bug on AIX 7.1.
+       * m4/ceilf.m4 (gl_FUNC_CEILF): Test also the sign of ceilf (-0.3f).
+       * doc/posix-functions/ceilf.texi: Mention the AIX 7.1 problem.
+
+2011-06-19  Bruno Haible  <bruno@clisp.org>
+
+       ceil-ieee: Work around bug on AIX 7.1.
+       * m4/ceil.m4 (gl_FUNC_CEIL): Test also the sign of ceil (-0.3).
+       * doc/posix-functions/ceil.texi: Mention the AIX 7.1 problem.
+
+2011-06-18  Bruno Haible  <bruno@clisp.org>
+
+       fsync test: Avoid test failure on MacOS X and AIX.
+       * tests/test-fsync.c (fsync): Allow ENOTSUP and EBADF instead of
+       EINVAL.
+
 2011-06-18  Bruno Haible  <bruno@clisp.org>
 
        openat, fdopendir tests: Fix link errors.