X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-floorf1.c;h=378b994d07819d05c8e7b257c48807e391423733;hb=4af5eabfc04010c39947d3ae9763ae931d63c191;hp=4877c419f20e276709349f4cc03b0cf36f2cde8c;hpb=4baf5c1e594a65a315fbd5094eaeeb11f4630d18;p=pspp diff --git a/tests/test-floorf1.c b/tests/test-floorf1.c index 4877c419f2..378b994d07 100644 --- a/tests/test-floorf1.c +++ b/tests/test-floorf1.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 @@ -46,9 +46,7 @@ main (int argc, char **argv _GL_UNUSED) /* Zero. */ ASSERT (my_floorf (0.0f) == 0.0f); - ASSERT (!signbit (my_floorf (0.0f))); ASSERT (my_floorf (minus_zerof) == 0.0f); - ASSERT (!!signbit (minus_zerof) == !!signbit (my_floorf (minus_zerof))); /* Positive numbers. */ ASSERT (my_floorf (0.3f) == 0.0f); ASSERT (my_floorf (0.7f) == 0.0f);