Tests for module 'cbrtf'.
[gnulib.git] / ChangeLog
index cc12b74..b989460 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,142 @@
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'cbrtf'.
+       * modules/cbrtf-tests: New file.
+       * tests/test-cbrtf.c: New file.
+
+       New module 'cbrtf'.
+       * lib/math.in.h (cbrtf): New declaration.
+       * lib/cbrtf.c: New file.
+       * m4/cbrtf.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether cbrtf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRTF, HAVE_CBRTF,
+       HAVE_DECL_CBRTF.
+       * modules/math (Makefile.am): Substitute GNULIB_CBRTF, HAVE_CBRTF,
+       HAVE_DECL_CBRTF.
+       * modules/cbrtf: New file.
+       * tests/test-math-c++.cc: Check the declaration of cbrtf.
+       * doc/posix-functions/cbrtf.texi: Mention the new module.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       cbrt: Provide replacement on MSVC and Minix.
+       * lib/math.in.h (cbrt): New declaration.
+       * lib/cbrt.c: New file.
+       * m4/cbrt.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether cbrt is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_CBRT, HAVE_CBRT.
+       * modules/math (Makefile.am): Substitute GNULIB_CBRT, HAVE_CBRT.
+       * modules/cbrt (Files): Add lib/cbrt.c, m4/cbrt.m4.
+       (Depends-on): Add dependencies.
+       (configure.ac): Arrange to compile replacement if HAVE_CBRT is 0.
+       * tests/test-math-c++.cc: Check the declaration of cbrt.
+       * doc/posix-functions/cbrt.texi: Mention that the module provides a
+       replacement.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       hypotl-ieee: Work around test failure on OSF/1 and native Windows.
+       * m4/hypotl-ieee.m4: New file.
+       * m4/hypotl.m4 (gl_FUNC_HYPOTL): If gl_FUNC_HYPOTL_IEEE is present,
+       test whether hypotl works with mixed NaN and Infinity arguments.
+       Replace it if not.
+       * lib/math.in.h (hypotl): Override if REPLACE_HYPOTL is 1.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize REPLACE_HYPOTL.
+       * modules/math (Makefile.am): Substitute REPLACE_HYPOTL.
+       * modules/hypotl (configure.ac): Consider REPLACE_HYPOTL.
+       (Depends-on): Update conditions.
+       * modules/hypotl-ieee (Files): Add m4/hypotl-ieee.m4.
+       (Depends-on): Add hypot-ieee.
+       (configure.ac): Invoke gl_FUNC_HYPOTL_IEEE.
+       * doc/posix-functions/hypotl.texi: Mention the hypotl-ieee module.
+
+       hypotf-ieee: Work around test failure on OSF/1 and native Windows.
+       * m4/hypotf-ieee.m4: New file.
+       * m4/hypotf.m4 (gl_FUNC_HYPOTF): If gl_FUNC_HYPOTF_IEEE is present,
+       test whether hypotf works with mixed NaN and Infinity arguments.
+       Replace it if not.
+       * modules/hypotf-ieee (Files): Add m4/hypotf-ieee.m4.
+       (Depends-on): Add hypot-ieee.
+       (configure.ac): Invoke gl_FUNC_HYPOTF_IEEE.
+       * doc/posix-functions/hypotf.texi: Mention the hypotf-ieee module.
+
+       hypot-ieee: Work around test failure on OSF/1 and native Windows.
+       * lib/math.in.h (hypot): New declaration.
+       * lib/hypot.c: New file.
+       * m4/hypot-ieee.m4: New file.
+       * m4/hypot.m4 (gl_FUNC_HYPOT): If gl_FUNC_HYPOT_IEEE is present, test
+       whether hypot works with mixed NaN and Infinity arguments. Replace it
+       if not.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOT,
+       REPLACE_HYPOT.
+       * modules/math (Makefile.am): Substitute GNULIB_HYPOT, REPLACE_HYPOT.
+       * modules/hypot (Files): Add lib/hypot.c.
+       (Depends-on): Add dependencies.
+       (configure.ac): Arrange to compile replacement if REPLACE_HYPOT is 1.
+       * modules/hypot-ieee (Files): Add m4/hypot-ieee.m4.
+       (configure.ac): Invoke gl_FUNC_HYPOT_IEEE.
+       * tests/test-math-c++.cc: Check the declaration of hypot.
+       * doc/posix-functions/hypot.texi: Mention the hypot-ieee module.
+
+       Tests for module 'hypotl-ieee'.
+       * modules/hypotl-ieee-tests: New file.
+       * tests/test-hypotl-ieee.c: New file.
+
+       New module 'hypotl-ieee'.
+       * modules/hypotl-ieee: New file.
+
+       Tests for module 'hypot-ieee'.
+       * modules/hypot-ieee-tests: New file.
+       * tests/test-hypot-ieee.c: New file.
+
+       New module 'hypot-ieee'.
+       * modules/hypot-ieee: New file.
+
+       Tests for module 'hypotf-ieee'.
+       * modules/hypotf-ieee-tests: New file.
+       * tests/test-hypotf-ieee.c: New file.
+       * tests/test-hypot-ieee.h: New file.
+
+       New module 'hypotf-ieee'.
+       * modules/hypotf-ieee: New file.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Remove unused variables.
+       * m4/fmod.m4 (gl_FUNC_FMOD): Remove unused variable 'i'.
+       * m4/fmodl.m4 (gl_FUNC_FMODL): Likewise.
+       * m4/remainder.m4 (gl_FUNC_REMAINDER): Likewise.
+       * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Likewise.
+
+2012-02-29  Eric Blake  <eblake@redhat.com>
+
+       termios: fix pid_t always, not just for tcgetsid
+       * doc/posix-headers/termios.texi (termios.h): Mention problem.
+       * lib/termios.in.h (include): Ensure pid_t on all platforms, not
+       just when building tcgetsid.
+
+2012-02-29  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'hypotl'.
+       * modules/hypotl-tests: New file.
+       * tests/test-hypotl.c: New file.
+
+       New module 'hypotl'.
+       * lib/math.in.h (hypotl): New declaration.
+       * lib/hypotl.c: New file.
+       * m4/hypotl.m4: New file.
+       * m4/math_h.m4 (gl_MATH_H): Test whether hypotf is declared.
+       (gl_MATH_H_DEFAULTS): Initialize GNULIB_HYPOTL, HAVE_HYPOTL.
+       * modules/math (Makefile.am): Substitute GNULIB_HYPOTL, HAVE_HYPOTL.
+       * modules/hypotl: New file.
+       * tests/test-math-c++.cc: Check the hypotl declaration.
+       * doc/posix-functions/hypotl.texi: Mention the new module.
+
 2012-02-29  Eric Blake  <eblake@redhat.com>
 
+       tcgetsid: fix cygwin header bug
+       * lib/termios.in.h (includes) [Cygwin]: Ensure pid_t is defined.
+
        docs: update cygwin progress
        * doc/posix-functions/llround.texi (llround): Added in cygwin
        1.7.8.