diff options
author | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:04:25 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-12-21 22:50:16 +0100 |
commit | 8fe3f433681b195f1deef11bcb4ccec850597c81 (patch) | |
tree | 56ccb29e0f0248ec6b9e997f3244147ac100ff1d /tests/test-truncl.c | |
parent | 581b1c58f176167b473c8e79ed7b3f1786adfd02 (diff) | |
download | gnulib-8fe3f433681b195f1deef11bcb4ccec850597c81.tar.gz |
New module 'truncl-ieee'.
* modules/truncl-ieee: New file.
* modules/truncl-ieee-tests: New file.
* tests/test-truncl-ieee.c: New file, based on tests/test-truncl.c.
* tests/test-truncl.c (main): Remove signbit tests.
* modules/truncl-tests (Depends-on): Remove signbit.
* doc/posix-functions/truncl.texi: Mention the new module.
Diffstat (limited to 'tests/test-truncl.c')
-rw-r--r-- | tests/test-truncl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-truncl.c b/tests/test-truncl.c index f2a9644eac..ab1f4443f3 100644 --- a/tests/test-truncl.c +++ b/tests/test-truncl.c @@ -40,9 +40,7 @@ main () /* Zero. */ ASSERT (truncl (0.0L) == 0.0L); - ASSERT (!signbit (truncl (0.0L))); ASSERT (truncl (minus_zerol) == 0.0L); - ASSERT (!!signbit (minus_zerol) == !!signbit (truncl (minus_zerol))); /* Positive numbers. */ ASSERT (truncl (0.3L) == 0.0L); ASSERT (truncl (0.7L) == 0.0L); |