X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttoward.c;h=1532127fd3904dbdb817c8b6a595748519d02aaf;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=9a87d00863fe1e434724694157b3051e130ff68c;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/nexttoward.c b/src/math/nexttoward.c index 9a87d00..1532127 100644 --- a/src/math/nexttoward.c +++ b/src/math/nexttoward.c @@ -37,7 +37,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 nexttoward(%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++;