From 9b144e908f361bc95b309fd33bfa0bc09ae55cc7 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 21 Dec 2010 18:55:59 +0100 Subject: New module 'round-ieee'. * modules/round-ieee: New file. * m4/round.m4 (gl_FUNC_ROUND): If gl_FUNC_ROUND_IEEE is also used, test whether round works according to ISO C 99 with IEC 60559. * m4/round-ieee.m4: New file. * modules/round-ieee-tests: New file. * tests/test-round-ieee.c: New file, based on tests/test-roundf-ieee.c. * tests/test-round1.c (main): Remove signbit tests. * modules/round-tests (Depends-on): Remove 'signbit'. * doc/posix-functions/round.texi: Mention the new module. --- modules/round-ieee-tests | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/round-ieee-tests (limited to 'modules/round-ieee-tests') diff --git a/modules/round-ieee-tests b/modules/round-ieee-tests new file mode 100644 index 0000000000..6e32da51bc --- /dev/null +++ b/modules/round-ieee-tests @@ -0,0 +1,15 @@ +Files: +tests/test-round-ieee.c +tests/minus-zero.h +tests/macros.h + +Depends-on: +float +signbit + +configure.ac: + +Makefile.am: +TESTS += test-round-ieee +check_PROGRAMS += test-round-ieee +test_round_ieee_LDADD = $(LDADD) @ROUND_LIBM@ -- cgit v1.2.1