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. --- tests/test-round1.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/test-round1.c') diff --git a/tests/test-round1.c b/tests/test-round1.c index 4711a74361..86fd1de7ab 100644 --- a/tests/test-round1.c +++ b/tests/test-round1.c @@ -35,9 +35,7 @@ main () { /* Zero. */ ASSERT (round (0.0) == 0.0); - ASSERT (!signbit (round (0.0))); ASSERT (round (minus_zerod) == 0.0); - ASSERT (!!signbit (minus_zerod) == !!signbit (round (minus_zerod))); /* Positive numbers. */ ASSERT (round (0.3) == 0.0); ASSERT (round (0.5) == 1.0); -- cgit v1.2.1