X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnearbyintf.c;h=1bd3db9e75d68cef5455b15b1c4de15a6df715e1;hb=cda5e0484c98223a552580e79af378a6e6e83305;hp=a894548d603fe84cc660d3af86b4d126fcc4717f;hpb=f9ba40bcb2e9cf0e51368d1144a000d1cc15ab9f;p=libc-test diff --git a/src/math/nearbyintf.c b/src/math/nearbyintf.c index a894548..1bd3db9 100644 --- a/src/math/nearbyintf.c +++ b/src/math/nearbyintf.c @@ -26,7 +26,7 @@ int main(void) y = nearbyintf(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 nearbyintf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));