X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmin.c;h=fb022c0b1c17d3849e0952942be5df51a189e68e;hb=281b80f0e70fe28356c3f0ded8b86f28a5c74d0a;hp=1ee3f4ce5ebf8edcab4b41d394fde450ba53c1f8;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/fmin.c b/src/math/fmin.c index 1ee3f4c..fb022c0 100644 --- a/src/math/fmin.c +++ b/src/math/fmin.c @@ -26,7 +26,7 @@ int main(void) y = fmin(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 fmin(%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));