diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 15:58:00 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:46:47 +0100 |
commit | 4ee2d29251b218b1f4f520494499e55b6d1714ba (patch) | |
tree | 089215ab58941d23518659e35ae7465971da26b1 /modules/roundf-ieee-tests | |
parent | fdb0fd9e820d721e6492b041ddc49d49b4c61e64 (diff) | |
download | gnulib-4ee2d29251b218b1f4f520494499e55b6d1714ba.tar.gz |
New module 'roundf-ieee'.
* modules/roundf-ieee: New file.
* m4/roundf.m4 (gl_FUNC_ROUNDF): If gl_FUNC_ROUNDF_IEEE is also used,
test whether roundf works according to ISO C 99 with IEC 60559.
* m4/roundf-ieee.m4: New file.
* modules/roundf-ieee-tests: New file.
* tests/test-roundf-ieee.c: New file, based on tests/test-roundf1.c.
* tests/test-roundf1.c (main): Remove signbit tests.
* modules/roundf-tests (Depends-on): Remove 'signbit'.
* doc/posix-functions/roundf.texi: Mention the new module.
Diffstat (limited to 'modules/roundf-ieee-tests')
-rw-r--r-- | modules/roundf-ieee-tests | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/roundf-ieee-tests b/modules/roundf-ieee-tests new file mode 100644 index 0000000000..de231a51e1 --- /dev/null +++ b/modules/roundf-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-roundf-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-roundf-ieee +check_PROGRAMS += test-roundf-ieee +test_roundf_ieee_LDADD = $(LDADD) @ROUNDF_LIBM@ |