X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-floorl.c;h=df745f4e390aa0afcaca66ebd9b193c737dc4f82;hb=17857d41b41e7b22ba58e4e0d98693ee14f022d4;hp=2675a9e5d5821a2970e0050d9349e067b7a95c0a;hpb=5dad7705e059bd0ce249a736b5af02dd66824ae0;p=gnulib.git diff --git a/tests/test-floorl.c b/tests/test-floorl.c index 2675a9e5d..df745f4e3 100644 --- a/tests/test-floorl.c +++ b/tests/test-floorl.c @@ -1,5 +1,5 @@ /* Test of rounding towards negative infinity. - 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 @@ -40,9 +40,7 @@ main () /* Zero. */ ASSERT (floorl (0.0L) == 0.0L); - ASSERT (!signbit (floorl (0.0L))); ASSERT (floorl (minus_zerol) == 0.0L); - ASSERT (!!signbit (minus_zerol) == !!signbit (floorl (minus_zerol))); /* Positive numbers. */ ASSERT (floorl (0.3L) == 0.0L); ASSERT (floorl (0.7L) == 0.0L);