X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterl.c;h=41edab044617ad51558fc419b2f23ffc778bda2d;hb=e32c6c4f80d29ee09ed1c1189a528ba20dfa46de;hp=70fddb22d92e21f5d9557a80f33cce99868beb89;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 70fddb2..41edab0 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 @@ -32,7 +32,7 @@ int main(void) y = nextafterl(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 nextafterl(%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));