X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Ffrexp.c;h=bf0eb9a221ca15e0ad8eff37507820f8b27373e2;hb=9c6efc03eba4568ba9f1672a2bb0c50a047edd8e;hp=73a415e62901dcd7c30f3c65aa9387e661132f95;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;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++;