X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterl.c;h=41edab044617ad51558fc419b2f23ffc778bda2d;hb=e32c6c4f80d29ee09ed1c1189a528ba20dfa46de;hp=58737ee2d2d4eb52dd110eea1c77cddb89c4c046;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 58737ee..41edab0 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -1,13 +1,15 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/nextafter.h" +#include "special/nextafter.h" #elif LDBL_MANT_DIG == 64 #include "sanity/nextafterl.h" +#include "special/nextafterl.h" #endif }; @@ -30,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));