X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-ceill.c;h=ec3c6b968571b2e42442a7f6fc09a512a92dd8c5;hb=fb4a9aa847c5e660adda65e9e2b9752aabfeeaf3;hp=3d4c9e3e8980ecb3005a52a42d94afea17d4bee1;hpb=ecab4471c7da5d367a62c8db75ee54ed6d948e40;p=gnulib.git diff --git a/tests/test-ceill.c b/tests/test-ceill.c index 3d4c9e3e8..ec3c6b968 100644 --- a/tests/test-ceill.c +++ b/tests/test-ceill.c @@ -1,5 +1,5 @@ /* Test of rounding towards positive infinity. - Copyright (C) 2007-2009 Free Software Foundation, Inc. + Copyright (C) 2007-2010 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 @@ -20,25 +20,15 @@ #include +#include "signature.h" +SIGNATURE_CHECK (ceill, long double, (long double)); + #include -#include -#include #include "fpucw.h" #include "isnanl-nolibm.h" #include "nan.h" - -#define ASSERT(expr) \ - do \ - { \ - if (!(expr)) \ - { \ - fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ - fflush (stderr); \ - abort (); \ - } \ - } \ - while (0) +#include "macros.h" /* On HP-UX 10.20, negating 0.0L does not yield -0.0L. So we use minus_zero instead.