tests/test-fmod.h


Log

Author Commit Date CI Message
Bruno Haible 5c5a9622 2012-03-04T20:59:05 fmod* tests: More tests. * tests/test-fmod.h (my_ldexp): New function. (test_function): Reduce amount of random numbers to test. Add tests of very large quotients x / y. * tests/test-fmod.c (MAX_EXP): New macro. * tests/test-fmodf.c (MAX_EXP): Likewise. * tests/test-fmodl.c (MAX_EXP): Likewise.
Bruno Haible 3261e6f0 2012-03-03T18:15:16 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.