X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmax.c;h=b5a6b7abf60075110477537a7ea3dd45df010b9a;hb=feee04a18f1530207297a11e76c9ed9e6f51ec45;hp=349289319e6413a2019098749686318bed9f8c4b;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/fmax.c b/src/math/fmax.c index 3492893..b5a6b7a 100644 --- a/src/math/fmax.c +++ b/src/math/fmax.c @@ -26,7 +26,7 @@ int main(void) y = fmax(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 fmax(%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));