X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmin.c;h=fb022c0b1c17d3849e0952942be5df51a189e68e;hb=d19c6ff9a927df8a6c6c69881bc1a93962252570;hp=542d6c082f2e47ae86ed2a5bd76787ae7910ba43;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/fmin.c b/src/math/fmin.c index 542d6c0..fb022c0 100644 --- a/src/math/fmin.c +++ b/src/math/fmin.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/fmin.h" @@ -26,7 +26,7 @@ int main(void) y = fmin(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 fmin(%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));