X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffrexp.c;h=bf0eb9a221ca15e0ad8eff37507820f8b27373e2;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=73a415e62901dcd7c30f3c65aa9387e661132f95;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/frexp.c b/src/math/frexp.c index 73a415e..bf0eb9a 100644 --- a/src/math/frexp.c +++ b/src/math/frexp.c @@ -33,7 +33,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r) || yi != p->i) { + if (!checkcr(y, p->y, p->r) || yi != p->i) { printf("%s:%d: %s frexp(%a) want %a,%lld got %a,%d ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, p->i, y, yi, d, d-p->dy, p->dy); err++;