X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Ffmax.c;h=b5a6b7abf60075110477537a7ea3dd45df010b9a;hb=1421f13d69c511693e685e6e406de523610223fd;hp=5479ad91cd95edebfcb9237c9ea2f6cd436b974d;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/fmax.c b/src/math/fmax.c index 5479ad9..b5a6b7a 100644 --- a/src/math/fmax.c +++ b/src/math/fmax.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/fmax.h" @@ -26,7 +26,7 @@ int main(void) y = fmax(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 fmax(%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));