X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Froundl.c;fp=src%2Fmath%2Froundl.c;h=06abed6672737b480c223855954dd3b91a7a69fa;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=f4fa0244ae22d300ffe1bd93976f761454019f45;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/roundl.c b/src/math/roundl.c index f4fa024..06abed6 100644 --- a/src/math/roundl.c +++ b/src/math/roundl.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 roundl(%La) want %La got %La ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;