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