X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsqrtf.c;h=8e8f8fe20ec8243d19bc4e977c4844ef7958b038;hb=cda5e0484c98223a552580e79af378a6e6e83305;hp=d29cc576f79a1093592e72b02159a50b0ca0f09f;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/sqrtf.c b/src/math/sqrtf.c index d29cc57..8e8f8fe 100644 --- a/src/math/sqrtf.c +++ b/src/math/sqrtf.c @@ -27,7 +27,7 @@ int main(void) y = sqrtf(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 sqrtf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));