+2012-03-04 Bruno Haible <bruno@clisp.org>
+
+ fmod, fmodl: Fix computation for large quotients x / y.
+ * lib/fmod.c: Completely rewritten.
+ * lib/fmodl.c (fmodl): Use implementation of fmod.c with
+ 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,
+ 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.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ fmod* tests: More tests.
+ * tests/test-fmod.h: New file.
+ * tests/test-fmod.c: Include <float.h> and test-fmod.h.
+ (main): Invoke test_function.
+ * tests/test-fmodf.c: Include <float.h> and test-fmod.h.
+ (main): Invoke test_function.
+ * tests/test-fmodl.c: Include <float.h> and test-fmod.h.
+ (main): Invoke test_function.
+ * modules/fmod-tests (Files): Add tests/test-fmod.h, tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_fmod_SOURCES.
+ * modules/fmodf-tests (Files): Add tests/test-fmod.h, tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_fmodf_SOURCES.
+ * modules/fmodl-tests (Files): Add tests/test-fmod.h, tests/randoml.c.
+ (Depends-on): Add 'float'.
+ (Makefile.am): Add randoml.c to test_fmodl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ rint* tests: More tests.
+ * tests/test-rint.h: New file, partially extracted from
+ tests/test-rintl.c.
+ * tests/test-rint.c: Include test-rint.h.
+ (main): Invoke test_function.
+ * tests/test-rintf.c: Include test-rint.h.
+ (main): Invoke test_function.
+ * tests/test-rintl.c: Include test-rint.h.
+ (main): Invoke test_function.
+ * modules/rint-tests (Files): Add tests/test-rint.h, tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_rint_SOURCES.
+ * modules/rintf-tests (Files): Add tests/test-rint.h, tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_rintf_SOURCES.
+ * modules/rintl-tests (Files): Add tests/test-rint.h, tests/randoml.c.
+ (Makefile.am): Add randoml.c to test_rintl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ modf* tests: More tests.
+ * tests/test-modf.h: New file.
+ * tests/test-modf.c: Include <float.h> and test-modf.h.
+ (main): Invoke test_function.
+ * tests/test-modff.c: Include <float.h> and test-modf.h.
+ (main): Invoke test_function.
+ * tests/test-modfl.c: Include <float.h> and test-modf.h.
+ (main): Invoke test_function.
+ * modules/modf-tests (Files): Add tests/test-modf.h, tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_modf_SOURCES.
+ * modules/modff-tests (Files): Add tests/test-modf.h, tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_modff_SOURCES.
+ * modules/modfl-tests (Files): Add tests/test-modf.h, tests/randoml.c.
+ (Depends-on): Add 'float'.
+ (Makefile.am): Add randoml.c to test_modfl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ fabs* tests: More tests.
+ * tests/test-fabs.h: New file, partially extracted from
+ tests/test-fabsl.c.
+ * tests/test-fabs.c (RANDOM): New macro.
+ * tests/test-fabsf.c (RANDOM): New macro.
+ * tests/test-fabsl.c (RANDOM): New macro.
+ * modules/fabs-tests (Files): Add tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_fabs_SOURCES.
+ * modules/fabsf-tests (Files): Add tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_fabsf_SOURCES.
+ * modules/fabsl-tests (Files): Add tests/randoml.c.
+ (Makefile.am): Add randoml.c to test_fabsl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ ldexp* tests: More tests.
+ * tests/test-ldexp.h (test_function): Add some pseudo-randomized tests.
+ * tests/test-ldexp.c (RANDOM): New macro.
+ * tests/test-ldexpf.c (RANDOM): New macro.
+ * tests/test-ldexpl.c (RANDOM): New macro.
+ * modules/ldexp-tests (Files): Add tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_ldexp_SOURCES.
+ * modules/ldexpf-tests (Files): Add tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_ldexpf_SOURCES.
+ * modules/ldexpl-tests (Files): Add tests/randoml.c.
+ (Makefile.am): Add randoml.c to test_ldexpl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ frexp* tests: More tests.
+ * tests/test-frexp.h (test_function): Add some pseudo-randomized tests.
+ * tests/test-frexp.c (RANDOM): New macro.
+ * tests/test-frexpf.c (RANDOM): New macro.
+ * tests/test-frexpl.c (RANDOM): New macro.
+ * modules/frexp-tests (Files): Add tests/randomd.c.
+ (Makefile.am): Add randomd.c to test_frexp_SOURCES.
+ * modules/frexpf-tests (Files): Add tests/randomf.c.
+ (Makefile.am): Add randomf.c to test_frexpf_SOURCES.
+ * modules/frexpl-tests (Files): Add tests/randoml.c.
+ (Makefile.am): Add randoml.c to test_frexpl_SOURCES.
+
+2012-03-03 Bruno Haible <bruno@clisp.org>
+
+ Support for pseudo-random numbers in tests.
+ * tests/randomf.c: New file.
+ * tests/randomd.c: New file.
+ * tests/randoml.c: New file.
+ * tests/macros.h (randomf, randomd, randoml): New declarations.
+
2012-03-03 Bruno Haible <bruno@clisp.org>
frexp* tests: Refactor.