New module 'log2f'.
[gnulib.git] / ChangeLog
index 8ce0dcb..1f09e88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,79 @@
+2012-03-11  Bruno Haible  <bruno@clisp.org>
+
+       New module 'log2f'.
+       * lib/math.in.h (log2f): New declaration.
+       * lib/log2f.c: New file.
+       * m4/log2f.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether log2f is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2F, HAVE_DECL_LOG2F,
+       REPLACE_LOG2F.
+       * modules/math (Makefile.am): Substitute GNULIB_LOG2F, HAVE_DECL_LOG2F,
+       REPLACE_LOG2F.
+       * modules/log2f: New file.
+       * tests/test-math-c++.cc: Check the declaration of log2f.
+       * doc/posix-functions/log2f.texi: Mention the new module and the IRIX
+       and OSF/1 and Cygwin problems.
+
+2012-03-11  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'log2'.
+       * modules/log2-tests: New file.
+       * tests/test-log2.c: New file.
+       * tests/test-log2.h: New file.
+
+       New module 'log2'.
+       * lib/math.in.h (log2): New declaration.
+       * lib/log2.c: New file.
+       * m4/log2.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether log2 is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_LOG2, HAVE_DECL_LOG2,
+       REPLACE_LOG2.
+       * modules/math (Makefile.am): Substitute GNULIB_LOG2, HAVE_DECL_LOG2,
+       REPLACE_LOG2.
+       * modules/log2: New file.
+       * tests/test-math-c++.cc: Check the declaration of log2.
+       * doc/posix-functions/log2.texi: Mention the new module and the IRIX
+       and OSF/1 and Cygwin problems.
+
+2012-03-11  Bruno Haible  <bruno@clisp.org>
+
+       exp2* tests: More tests.
+       * tests/test-exp2.h (test_function): Test all integral arguments that
+       don't need to overflow or denormalized numbers.
+       * tests/test-exp2.c (MAX_EXP, MIN_EXP): New macros.
+       * tests/test-exp2f.c (MAX_EXP, MIN_EXP): Likewise.
+       * tests/test-exp2l.c (MAX_EXP, MIN_EXP): Likewise.
+
 2012-03-10  Bruno Haible  <bruno@clisp.org>
 
+       log1pl-ieee: Work around test failure on AIX 7.1.
+       * modules/log1pl-ieee (Depends-on): Add log1p-ieee.
+
+       log1pl-ieee: Work around test failure on IRIX 6.5.
+       * m4/log1pl-ieee.m4: New file.
+       * m4/log1pl.m4 (gl_FUNC_LOG1PL): If gl_FUNC_LOG1PL_IEEE is present,
+       test whether log1pl works with a minus zero argument. Replace it if
+       not.
+       * lib/math.in.h (log1pl): Override if REPLACE_LOG1PL is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_LOG1PL.
+       * modules/math (Makefile.am): Substitute REPLACE_LOG1PL.
+       * modules/log1pl (configure.ac): Consider REPLACE_LOG1PL.
+       (Depends-on): Update conditions.
+       * modules/log1pl-ieee (Files): Add m4/log1p-ieee.m4, m4/minus-zero.m4,
+       m4/signbit.m4.
+       (configure.ac): Invoke gl_FUNC_LOG1PL_IEEE.
+       * doc/posix-functions/log1pl.texi: Mention the log1pl-ieee module.
+
+       log1pf-ieee: Work around test failure on OpenBSD 4.9 and AIX 7.1.
+       * m4/log1pf-ieee.m4: New file.
+       * m4/log1pf.m4 (gl_FUNC_LOG1PF): If gl_FUNC_LOG1PF_IEEE is present,
+       test whether log1pf works with a minus zero argument. Replace it if
+       not.
+       * modules/log1pf-ieee (Files): Add m4/log1pf-ieee.m4, m4/minus-zero.m4,
+       m4/signbit.m4.
+       (configure.ac): Invoke gl_FUNC_LOG1PF_IEEE.
+       * doc/posix-functions/log1pf.texi: Mention the log1pf-ieee module.
+
        log1pf-ieee: Work around test failure on AIX 5.1 and HP-UX 11.
        * modules/log1pf-ieee (Depends-on): Add log1p-ieee.
        (configure.ac): Require gl_FUNC_LOG1PF.