X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fnextafter.c;h=79667fea28e2a2b556ee4649ea7e172ef47ee886;hb=12e1dfcdbb2de87a28914d7e9a82b5f71b5890d8;hp=576a3920b6564bd276f00219b8847dbe772acfc6;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/nextafter.c b/src/math/nextafter.c index 576a392..79667fe 100644 --- a/src/math/nextafter.c +++ b/src/math/nextafter.c @@ -26,7 +26,7 @@ int main(void) y = nextafter(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 nextafter(%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));