X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttowardl.c;h=ac0115a8d48ba8072070d4749963855f6b3da71b;hb=8f89d908656122033909033a7a71c87636319a08;hp=8625354ef86035f226ff355df6f7c2d427c33d9d;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/nexttowardl.c b/src/math/nexttowardl.c index 8625354..ac0115a 100644 --- a/src/math/nexttowardl.c +++ b/src/math/nexttowardl.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/nexttoward.h" +#include "special/nexttoward.h" #elif LDBL_MANT_DIG == 64 #include "sanity/nexttowardl.h" +#include "special/nexttowardl.h" #endif }; @@ -30,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));