cbrt* tests: More tests.
[gnulib.git] / ChangeLog
index f840f5c..740e113 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,109 @@
+2012-03-05  Bruno Haible  <bruno@clisp.org>
+
+       cbrt* tests: More tests.
+       * tests/test-cbrt.h: New file.
+       * tests/test-cbrt.c: Include <float.h> and test-cbrt.h.
+       (main): Invoke test_function.
+       * tests/test-cbrtf.c: Include <float.h> and test-cbrt.h.
+       (main): Invoke test_function.
+       * tests/test-cbrtl.c: Include <float.h> and test-cbrt.h.
+       (main): Invoke test_function.
+       * modules/cbrt-tests (Files): Add tests/test-cbrt.h, tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_cbrt_SOURCES.
+       * modules/cbrtf-tests (Files): Add tests/test-cbrt.h, tests/randomf.c.
+       (Makefile.am): Add randomf.c to test_cbrtf_SOURCES.
+       * modules/cbrtl-tests (Files): Add tests/test-cbrt.h, tests/randoml.c.
+       (Depends-on): Add 'float'.
+       (Makefile.am): Add randoml.c to test_cbrtl_SOURCES.
+
+2012-03-05  Bruno Haible  <bruno@clisp.org>
+
+       hypot* tests: More tests.
+       * tests/test-hypot.h: New file, partially extracted from
+       tests/test-hypotl.c.
+       * tests/test-hypot.c: Include test-hypot.h.
+       (main): Invoke test_function.
+       * tests/test-hypotf.c: Include test-hypot.h.
+       (main): Invoke test_function.
+       * tests/test-hypotl.c: Include fpucw.h and test-hypot.h.
+       (main): Invoke BEGIN_LONG_DOUBLE_ROUNDING and test_function.
+       * modules/hypot-tests (Files): Add tests/test-hypot.h, tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_hypot_SOURCES.
+       * modules/hypotf-tests (Files): Add tests/test-hypot.h,
+       tests/randomf.c.
+       (Makefile.am): Add randomf.c to test_hypotf_SOURCES.
+       * modules/hypotl-tests (Files): Add tests/test-hypot.h,
+       tests/randoml.c.
+       (Depends-on): Add 'fpucw', 'float'.
+       (Makefile.am): Add randoml.c to test_hypotl_SOURCES.
+
+2012-03-05  Bruno Haible  <bruno@clisp.org>
+
+       fpucw: Doc about FreeBSD.
+       * lib/fpucw.h: Mention FreeBSD in comments.
+
+2012-03-04  Bruno Haible  <bruno@clisp.org>
+
+       sqrt* tests: More tests.
+       * tests/test-sqrt.h: New file.
+       * tests/test-sqrt.c: Include <float.h> and test-sqrt.h.
+       (main): Invoke test_function.
+       * tests/test-sqrtf.c: Include <float.h> and test-sqrt.h.
+       (main): Invoke test_function.
+       * tests/test-sqrtl.c: Include <float.h> and test-sqrt.h.
+       (main): Invoke test_function.
+       * modules/sqrt-tests (Files): Add tests/test-sqrt.h, tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_sqrt_SOURCES.
+       * modules/sqrtf-tests (Files): Add tests/test-sqrt.h, tests/randomf.c.
+       (Makefile.am): Add randomf.c to test_sqrtf_SOURCES.
+       * modules/sqrtl-tests (Files): Add tests/test-sqrt.h, tests/randoml.c.
+       (Depends-on): Add 'float'.
+       (Makefile.am): Add randoml.c to test_sqrtl_SOURCES.
+
+2012-03-04  Bruno Haible  <bruno@clisp.org>
+
+       remainder* tests: More tests.
+       * tests/test-remainder.h: New file, based on tests/test-fmod.h.
+       * tests/test-remainder.c: Include <float.h> and test-remainder.h.
+       (main): Invoke test_function.
+       * tests/test-remainderf.c: Include <float.h> and test-remainder.h.
+       (main): Invoke test_function.
+       * tests/test-remainderl.c: Include <float.h> and test-remainder.h.
+       (main): Invoke test_function.
+       * modules/remainder-tests (Files): Add tests/test-remainder.h,
+       tests/randomd.c.
+       (Makefile.am): Add randomd.c to test_remainder_SOURCES.
+       * modules/remainderf-tests (Files): Add tests/test-remainder.h,
+       tests/randomf.c.
+       (Makefile.am): Add randomf.c to test_remainderf_SOURCES.
+       * modules/remainderl-tests (Files): Add tests/test-remainder.h,
+       tests/randoml.c.
+       (Depends-on): Add 'float'.
+       (Makefile.am): Add randoml.c to test_remainderl_SOURCES.
+
+2012-03-04  Bruno Haible  <bruno@clisp.org>
+
+       remainder, remainderf, remainderl: Fix computation for large quotients.
+       * lib/remainder.c: Completely rewritten.
+       * lib/remainderf.c (remainderf): Use implementation of remainder.c with
+       USE_FLOAT.
+       * lib/remainderl.c (remainderl): Use implementation of remainder.c with
+       USE_LONG_DOUBLE.
+       * modules/remainder (Depends-on): Add isfinite, signbit, fabs, fmod,
+       isnand, isinf. Remove round, fma.
+       * modules/remainderf (Files): Add lib/remainder.c.
+       (Depends-on): Add isfinite, signbit, fabsf, fmodf, isnanf, isinf.
+       Remove roundf, fmaf.
+       * modules/remainderl (Files): Add lib/remainder.c.
+       (Depends-on): Add float, isfinite, signbit, fabsl, fmodl, isnanl,
+       isinf. Remove roundl, fmal.
+       * m4/remainder.m4 (gl_FUNC_REMAINDER): Update computation of
+       REMAINDER_LIBM.
+       * m4/remainderf.m4 (gl_FUNC_REMAINDERF): Update computation of
+       REMAINDERF_LIBM.
+       * m4/remainderl.m4 (gl_FUNC_REMAINDERL): Update computation of
+       REMAINDERL_LIBM.
+
 2012-03-04  Bruno Haible  <bruno@clisp.org>
 
        fmod* tests: More tests.
        USE_LONG_DOUBLE.
        * modules/fmod (Depends-on): Add isfinite, signbit, fabs, frexp, ldexp,
        isnand. Remove fma.
-       * modules/fmodl (Depends-on): Add float, isfinite, signbit, fabsl,
+       * modules/fmodl (Files): Add lib/fmod.c.
+       (Depends-on): Add float, isfinite, signbit, fabsl,
        frexpl, ldexpl, isnanl. Remove fma.
        * m4/fmod.m4 (gl_FUNC_FMOD): Update computation of FMOD_LIBM.
        * m4/fmodl.m4 (gl_FUNC_FMODL): Update computation of FMODL_LIBM.