X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnearbyint.c;h=170209743a91acb67ce3c00c82acf77c55adb9e5;hb=ffb2b7d4cbcafd48ea56e11e09bf99a7195b9198;hp=675e77c33de28d1c248dee350702d413b7ae907f;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/nearbyint.c b/src/math/nearbyint.c index 675e77c..1702097 100644 --- a/src/math/nearbyint.c +++ b/src/math/nearbyint.c @@ -26,7 +26,7 @@ int main(void) y = nearbyint(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 nearbyint(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));