X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsqrt.c;h=403e2dc79f574c4fa9c105a9003d60443f8dd3f5;hb=54c15bc45a8721b8482552586a50b2548271a3b4;hp=1c0d50206971807754746b26d4f8ccb52e4774f8;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/sqrt.c b/src/math/sqrt.c index 1c0d502..403e2dc 100644 --- a/src/math/sqrt.c +++ b/src/math/sqrt.c @@ -27,7 +27,7 @@ int main(void) y = sqrt(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 sqrt(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));