X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterl.c;h=70fddb22d92e21f5d9557a80f33cce99868beb89;hb=3feaa322fdec8f8a45ec19a260103f11a12891e3;hp=23b94fda7d6dd5529b780154da5d436fab3699d0;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 23b94fd..70fddb2 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -4,8 +4,12 @@ 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 }; @@ -35,7 +39,7 @@ int main(void) err++; } d = ulperrl(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s nextafterl(%La,%La) want %La got %La ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, y, d, d-p->dy, p->dy); err++;