X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttoward.c;h=8436c695199524cf3771acc4011520051f3bf83b;hb=cda5e0484c98223a552580e79af378a6e6e83305;hp=ebf395c60cde902416cd99ab9ad0f5ab1a0bdf76;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/nexttoward.c b/src/math/nexttoward.c index ebf395c..8436c69 100644 --- a/src/math/nexttoward.c +++ b/src/math/nexttoward.c @@ -33,7 +33,7 @@ int main(void) y = nexttoward(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 nexttoward(%La,%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));