X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcopysign.c;h=ecc37190a7890f0c6509168aa0024abdfe65d43a;hb=e444a960e992bc5a55142ac7f3267a08fc6ce0f5;hp=23ab8e3f89b5b7a31fca7491bbaf9c87cf2b469b;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/copysign.c b/src/math/copysign.c index 23ab8e3..ecc3719 100644 --- a/src/math/copysign.c +++ b/src/math/copysign.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/copysign.h" @@ -26,7 +26,7 @@ int main(void) y = copysign(p->x, p->x2); e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW); - if (!checkexcept(e, p->e, p->r)) { + if (!checkexceptall(e, p->e, p->r)) { printf("%s:%d: bad fp exception: %s copysign(%a,%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));