diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 18:55:59 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:49:36 +0100 |
commit | 9b144e908f361bc95b309fd33bfa0bc09ae55cc7 (patch) | |
tree | 88832f347ed85acd0a4f35e2de2077e37aae452c /tests/test-round1.c | |
parent | 0c5e7922f80eae16b5a89233d5a8c0d1f88c18a7 (diff) | |
download | gnulib-9b144e908f361bc95b309fd33bfa0bc09ae55cc7.tar.gz |
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.
Diffstat (limited to 'tests/test-round1.c')
-rw-r--r-- | tests/test-round1.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |