X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-roundl.c;h=0daace587a76aaf9297e0fcf3fe44f427e2183fb;hb=e916d00297510297b63af2ea9790c4f6c0ac0105;hp=bdb8ddfec8011b35d03387187a96465cd1007ff2;hpb=5dad7705e059bd0ce249a736b5af02dd66824ae0;p=gnulib.git diff --git a/tests/test-roundl.c b/tests/test-roundl.c index bdb8ddfec..0daace587 100644 --- a/tests/test-roundl.c +++ b/tests/test-roundl.c @@ -1,5 +1,5 @@ /* Test of rounding to nearest, breaking ties away from zero. - Copyright (C) 2007-2010 Free Software Foundation, Inc. + Copyright (C) 2007-2011 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,9 +42,7 @@ main () /* Zero. */ ASSERT (roundl (0.0L) == 0.0L); - ASSERT (!signbit (roundl (0.0L))); ASSERT (roundl (minus_zerol) == 0.0L); - ASSERT (!!signbit (minus_zerol) == !!signbit (roundl (minus_zerol))); /* Positive numbers. */ ASSERT (roundl (0.3L) == 0.0L); ASSERT (roundl (0.5L) == 1.0L);