X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnearbyintl.c;h=854255a01c22fdcf6058bc8d7ec4cd60cee4b15c;hb=d891546b2de2436b459fdc95dc0390226bb1ad8b;hp=0d62313a51f3b94b5833f945d0dc379ff84d366f;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/nearbyintl.c b/src/math/nearbyintl.c index 0d62313..854255a 100644 --- a/src/math/nearbyintl.c +++ b/src/math/nearbyintl.c @@ -32,7 +32,7 @@ int main(void) y = nearbyintl(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 nearbyintl(%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));