X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmaxf.c;h=cadc356081954dbce8f8360f8827438fadbb51e1;hb=HEAD;hp=cd34a3bf96a9c0ce90d9fa31b88216eac42fadf7;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/fmaxf.c b/src/math/fmaxf.c index cd34a3b..cadc356 100644 --- a/src/math/fmaxf.c +++ b/src/math/fmaxf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/fmaxf.h" @@ -26,7 +26,7 @@ int main(void) y = fmaxf(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 fmaxf(%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));