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