X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttowardl.c;fp=src%2Fmath%2Fnexttowardl.c;h=ac0115a8d48ba8072070d4749963855f6b3da71b;hb=cda5e0484c98223a552580e79af378a6e6e83305;hp=f9250e104e1202ea3a4f5ee7f45b353c2370061a;hpb=f9ba40bcb2e9cf0e51368d1144a000d1cc15ab9f;p=libc-test diff --git a/src/math/nexttowardl.c b/src/math/nexttowardl.c index f9250e1..ac0115a 100644 --- a/src/math/nexttowardl.c +++ b/src/math/nexttowardl.c @@ -32,7 +32,7 @@ int main(void) y = nexttowardl(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 nexttowardl(%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));