logf-ieee: Work around test failure on Solaris 9.
[gnulib.git] / ChangeLog
index 65843d8..c704591 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,76 @@
+2012-03-10  Bruno Haible  <bruno@clisp.org>
+
+       logf-ieee: Work around test failure on Solaris 9.
+       * modules/logf-ieee (Depends-on): Add log-ieee.
+       (configure.ac): Require gl_FUNC_LOGF.
+
+       log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
+       * m4/log-ieee.m4: New file.
+       * m4/log.m4 (gl_FUNC_LOG): If gl_FUNC_LOG_IEEE is present, test whether
+       log works with a negative argument. Replace it if not.
+       * lib/log.c (log): For negative arguments, return NaN.
+       * modules/log-ieee (Files): Add m4/log-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_LOG_IEEE.
+       * doc/posix-functions/log.texi: Mention the log-ieee module.
+
+       Tests for module 'logl-ieee'.
+       * modules/logl-ieee-tests: New file.
+       * tests/test-logl-ieee.c: New file.
+
+       New module 'logl-ieee'.
+       * modules/logl-ieee: New file.
+
+       Tests for module 'log-ieee'.
+       * modules/log-ieee-tests: New file.
+       * tests/test-log-ieee.c: New file.
+
+       New module 'log-ieee'.
+       * modules/log-ieee: New file.
+
+       Tests for module 'logf-ieee'.
+       * modules/logf-ieee-tests: New file.
+       * tests/test-logf-ieee.c: New file.
+       * tests/test-log-ieee.h: New file.
+
+       New module 'logf-ieee'.
+       * modules/logf-ieee: New file.
+
+2012-03-10  Bruno Haible  <bruno@clisp.org>
+
+       log: Fix bug introduced on 2012-03-09.
+       * m4/log.m4 (gl_FUNC_LOG): Require gl_MATH_H_DEFAULTS.
+
+2012-03-10  Pádraig Brady  <P@draigBrady.com>
+
+       timer-time: link explicitly with pthreads on glibc
+       * m4/timer_time.m4 (LIB_TIMER_TIME): Add -lpthread
+       to support static linking, when newer glibc is
+       detected, as that contains pthread emulation of
+       POSIX timer functions where required.
+       * modules/timer-time: Depend on threadlib to
+       pull in the appropriate library to link.
+
+2012-03-10  Bruno Haible  <bruno@clisp.org>
+
+       log* tests: More tests.
+       * tests/test-log.h: New file.
+       * tests/test-log.c: Include <float.h>, minus-zero.h, test-log.h.
+       (main): Invoke test_function.
+       * tests/test-logf.c: Include <float.h>, minus-zero.h, test-log.h.
+       (main): Invoke test_function.
+       * tests/test-logl.c: Include <float.h>, minus-zero.h, test-log.h.
+       (main): Invoke test_function.
+       * modules/log-tests (Files): Add tests/test-log.h, tests/minus-zero.h,
+       tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_log_SOURCES.
+       * modules/logf-tests (Files): Add tests/test-log.h, tests/minus-zero.h,
+       tests/randomf.c.
+       (Makefile.am): Add randomf.c to test_logf_SOURCES.
+       * modules/logl-tests (Files): Add tests/test-log.h, tests/minus-zero.h,
+       tests/randoml.c.
+       (Depends-on): Add 'float'.
+       (Makefile.am): Add randoml.c to test_logl_SOURCES.
+
 2012-03-09  Bruno Haible  <bruno@clisp.org>
 
        logl: Work around OSF/1 5.1 bug.