exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.
[gnulib.git] / ChangeLog
index 0a94e19..ac13951 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,115 @@
 2012-03-08  Bruno Haible  <bruno@clisp.org>
 
+       exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.
+       * m4/exp2l-ieee.m4: New file.
+       * m4/exp2l.m4 (gl_FUNC_EXP2L): If gl_FUNC_EXP2L_IEEE is present,
+       test whether exp2l works with a NaN argument and with a negative
+       infinity argument. Replace it if not.
+       * lib/math.in.h (exp2l): Override if REPLACE_EXP2L is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_EXP2L.
+       * modules/math (Makefile.am): Substitute REPLACE_EXP2L.
+       * modules/exp2l (configure.ac): Consider REPLACE_EXP2L.
+       (Depends-on): Update conditions.
+       * modules/exp2l-ieee (Files): Add m4/exp2l-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_EXP2L_IEEE.
+       * doc/posix-functions/exp2l.texi: Mention the exp2l-ieee module.
+
+       Tests for module 'exp2l-ieee'.
+       * modules/exp2l-ieee-tests: New file.
+       * tests/test-exp2l-ieee.c: New file.
+
+       New module 'exp2l-ieee'.
+       * modules/exp2l-ieee: New file.
+
+       Tests for module 'exp2-ieee'.
+       * modules/exp2-ieee-tests: New file.
+       * tests/test-exp2-ieee.c: New file.
+
+       New module 'exp2-ieee'.
+       * modules/exp2-ieee: New file.
+
+       Tests for module 'exp2f-ieee'.
+       * modules/exp2f-ieee-tests: New file.
+       * tests/test-exp2f-ieee.c: New file.
+       * tests/test-exp2-ieee.h: New file.
+
+       New module 'exp2f-ieee'.
+       * modules/exp2f-ieee: New file.
+
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'exp2l'.
+       * modules/exp2l-tests: New file.
+       * tests/test-exp2l.c: New file.
+
+       New module 'exp2l'.
+       * lib/math.in.h (exp2l): New declaration.
+       * lib/exp2l.c: New file.
+       * lib/expl-table.c: New file, extracted from lib/expl.c.
+       * lib/expl.c (gl_expl_table): New declaration.
+       (expl): Remove expl_table. Update reference.
+       * m4/exp2l.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether exp2l is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2L, HAVE_DECL_EXP2L.
+       * modules/math (Makefile.am): Substitute GNULIB_EXP2L, HAVE_DECL_EXP2L.
+       * modules/exp2l: New file.
+       * modules/expl (Files): Add lib/expl-table.c.
+       (configure.ac): Compile also expl-table.c.
+       * tests/test-math-c++.cc: Check the declaration of exp2l.
+       * doc/posix-functions/exp2l.texi: Mention the new module and the IRIX
+       problem.
+
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'exp2f'.
+       * modules/exp2f-tests: New file.
+       * tests/test-exp2f.c: New file.
+
+       New module 'exp2f'.
+       * lib/math.in.h (exp2f): New declaration.
+       * lib/exp2f.c: New file.
+       * m4/exp2f.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether exp2f is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2F, HAVE_DECL_EXP2F.
+       * modules/math (Makefile.am): Substitute GNULIB_EXP2F, HAVE_DECL_EXP2F.
+       * modules/exp2f: New file.
+       * tests/test-math-c++.cc: Check the declaration of exp2f.
+       * doc/posix-functions/exp2f.texi: Mention the new module and the
+       IRIX problem.
+
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'exp2'.
+       * modules/exp2-tests: New file.
+       * tests/test-exp2.c: New file.
+       * tests/test-exp2.h: New file.
+
+        New module 'exp2'.
+        * lib/math.in.h (exp2): New declaration.
+        * lib/exp2.c: New file.
+        * m4/exp2.m4: New file.
+        * m4/math_h.m4 (gl_MATH_H): Test whether exp2 is declared.
+        (gl_MATH_H_DEFAULTS): Initialize GNULIB_EXP2, HAVE_DECL_EXP2,
+        REPLACE_EXP2.
+        * modules/math (Makefile.am): Substitute GNULIB_EXP2, HAVE_DECL_EXP2,
+        REPLACE_EXP2.
+        * modules/exp2: New file.
+        * tests/test-math-c++.cc: Check the declaration of exp2.
+        * doc/posix-functions/exp2.texi: Mention the new module and the IRIX
+        and OpenBSD problems.
+
+2012-03-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       savedir: fix comment typo
+       * lib/savedir.c (savedirstream): Fix typo in comment.
+
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
+       test-readtokens.c: use const; remove unwarranted cast
+       * tests/test-readtokens.c: Declare delim to be const, to avoid a cast.
+
+2012-03-08  Bruno Haible  <bruno@clisp.org>
+
        fmal: Avoid compilation error on AIX.
        * lib/math.in.h (fmal): Undefine macro before declaration. Needed on
        AIX 5.2..7.1.