X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-floorf1.c;h=025ea9bd4e874e5508ce4ba23b3ed1a5496b3a06;hb=987e5651e8d1c5aa933c9ce88562806af4093702;hp=e156732392eb386cd5599169c347525418cfe0c2;hpb=effbadc5cdd5c424f97367d66297e0e2aa057d63;p=gnulib.git diff --git a/tests/test-floorf1.c b/tests/test-floorf1.c index e15673239..025ea9bd4 100644 --- a/tests/test-floorf1.c +++ b/tests/test-floorf1.c @@ -23,23 +23,9 @@ #include "signature.h" SIGNATURE_CHECK (floorf, float, (float)); -#include -#include - #include "isnanf-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" /* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0f. So we use -zero instead. */