X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-round1.c;h=663377359e301ccc1634519f301fbe658fb0ddf8;hb=96f8fde75f5197ff2d68e616ef41532b96fba64f;hp=4711a743615ddfa810ce4e99f67e5c87e4a20905;hpb=5dad7705e059bd0ce249a736b5af02dd66824ae0;p=gnulib.git diff --git a/tests/test-round1.c b/tests/test-round1.c index 4711a7436..663377359 100644 --- a/tests/test-round1.c +++ b/tests/test-round1.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 @@ -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);