X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Frint.c;h=4ff50ebca5c0d945530f299c4f65c2a8c8b5528b;hb=281b80f0e70fe28356c3f0ded8b86f28a5c74d0a;hp=54c7df1a3ac31ef7a3e0a7e731aef5c23c407925;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/rint.c b/src/math/rint.c index 54c7df1..4ff50eb 100644 --- a/src/math/rint.c +++ b/src/math/rint.c @@ -26,7 +26,7 @@ int main(void) y = rint(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 rint(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));