X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftest-ldexpl.c;h=f3b4e6f2676172e8f267b1d5963e51e0cd78978b;hb=16b34ac99b135d6cd6c8c2cf1e277ee3b867d9ac;hp=0fe4f8619c871e24c210f66d86d697965a36b474;hpb=89ae4589dd58d12e7cbcf0e92c1d828c1e430f97;p=gnulib.git diff --git a/tests/test-ldexpl.c b/tests/test-ldexpl.c index 0fe4f8619..f3b4e6f26 100644 --- a/tests/test-ldexpl.c +++ b/tests/test-ldexpl.c @@ -1,5 +1,5 @@ /* Test of multiplying a 'long double' by a power of 2. - 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 @@ -24,24 +24,11 @@ SIGNATURE_CHECK (ldexpl, long double, (long double, int)); #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.