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