X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-ceilf1.c;h=c4581c6d2f63ea87c4d08d5c2fa151f444f89366;hb=395f9e6a19b504609aa8b0bd7f8cc55d4547d8dd;hp=a77641f9bd88df01c47280caf9d879b480a24b57;hpb=4baf5c1e594a65a315fbd5094eaeeb11f4630d18;p=gnulib.git diff --git a/tests/test-ceilf1.c b/tests/test-ceilf1.c index a77641f9b..c4581c6d2 100644 --- a/tests/test-ceilf1.c +++ b/tests/test-ceilf1.c @@ -1,5 +1,5 @@ /* Test of rounding towards positive 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_ceilf (0.0f) == 0.0f); - ASSERT (!signbit (my_ceilf (0.0f))); ASSERT (my_ceilf (minus_zerof) == 0.0f); - ASSERT (!!signbit (minus_zerof) == !!signbit (my_ceilf (minus_zerof))); /* Positive numbers. */ ASSERT (my_ceilf (0.3f) == 1.0f); ASSERT (my_ceilf (0.7f) == 1.0f);