X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbnf.c;h=69709a15c026bcdaa08f4053336bf3a12560bb18;hb=HEAD;hp=99c748b35cce0294fa47cccc09f993cc2ec7e4d0;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/scalbnf.c b/src/math/scalbnf.c index 99c748b..69709a1 100644 --- a/src/math/scalbnf.c +++ b/src/math/scalbnf.c @@ -26,7 +26,7 @@ int main(void) y = scalbnf(p->x, p->i); 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 scalbnf(%a, %lld)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->i, p->y, estr(p->e)); printf(" got %s\n", estr(e));