X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafter.c;h=79667fea28e2a2b556ee4649ea7e172ef47ee886;hb=e81f47f6663602eaae2911c62d2b28298815c72f;hp=844917e983ff4b6aa3dc410d25831078a48ff2fa;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/nextafter.c b/src/math/nextafter.c index 844917e..79667fe 100644 --- a/src/math/nextafter.c +++ b/src/math/nextafter.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/nextafter.h" @@ -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));