X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Frintf.c;h=083413bc2df664522a1ead699c3e5a6084faa6fc;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=6fc6f5a797fad21399c220540adff2a4284275c7;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/rintf.c b/src/math/rintf.c index 6fc6f5a..083413b 100644 --- a/src/math/rintf.c +++ b/src/math/rintf.c @@ -32,7 +32,7 @@ int main(void) err++; } d = ulperrf(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s rintf(%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;