X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Frintf.c;h=ced880d6d0bad328a1db8d7e83338ac6ea04c8b8;hb=6abdab8bf1ccda7f28916222043bb498a1b9adf3;hp=627c242c1916bb61b014d00e14b97eeca4c8e68d;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/rintf.c b/src/math/rintf.c index 627c242..ced880d 100644 --- a/src/math/rintf.c +++ b/src/math/rintf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "sanity/rintf.h" @@ -26,7 +26,7 @@ int main(void) y = rintf(p->x); 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 rintf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));