X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnextafterl.c;h=70fddb22d92e21f5d9557a80f33cce99868beb89;hb=b8fbda354afe84b26fae2317c49d79b3ff14f1cb;hp=2e9fc0621ff62a43a06e6ada0e69278e18c5d27c;hpb=ddfb9f92381086ef0b29f6fdddee3f7e51fb82e1;p=libc-test diff --git a/src/math/nextafterl.c b/src/math/nextafterl.c index 2e9fc06..70fddb2 100644 --- a/src/math/nextafterl.c +++ b/src/math/nextafterl.c @@ -5,9 +5,11 @@ 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 }; @@ -37,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++;