X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-floorl.c;h=5bbcaac44da97b1175712ca49787685b3b262ab3;hb=18bc22d6510355da4160789980b6831d0fe888d0;hp=87fea7f86fd0078ff084face6dd5fb3dafd391e0;hpb=ecab4471c7da5d367a62c8db75ee54ed6d948e40;p=gnulib.git diff --git a/tests/test-floorl.c b/tests/test-floorl.c index 87fea7f86..5bbcaac44 100644 --- a/tests/test-floorl.c +++ b/tests/test-floorl.c @@ -1,5 +1,5 @@ /* Test of rounding towards negative 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 (floorl, 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.