X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fscalbf.c;fp=src%2Fmath%2Fscalbf.c;h=309ff8d8a00fb7ef2e51bdea8d7c550efe0c5244;hp=c24915301c606bacefe8cd0b894404773696d668;hb=cda5e0484c98223a552580e79af378a6e6e83305;hpb=f9ba40bcb2e9cf0e51368d1144a000d1cc15ab9f diff --git a/src/math/scalbf.c b/src/math/scalbf.c index c249153..309ff8d 100644 --- a/src/math/scalbf.c +++ b/src/math/scalbf.c @@ -28,7 +28,7 @@ int main(void) y = scalbf(p->x, p->x2); 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 scalbf(%a,%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));