X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremquo.c;h=869468885429c6251b3a186ac8cf240edf12250f;hb=50ab48b035c2555e09cc9ac94c74f45b74b234f4;hp=afcab7874cae3f7521d0bec46f8f2c50ea15b93c;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/remquo.c b/src/math/remquo.c index afcab78..8694688 100644 --- a/src/math/remquo.c +++ b/src/math/remquo.c @@ -33,7 +33,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r) || + if (!checkcr(y, p->y, p->r) || (!isnan(p->y) && (yi & 7) != (p->i & 7)) || (!isnan(p->y) && (yi < 0) != (p->i < 0))) { printf("%s:%d: %s remquo(%a,%a) want %a,%lld got %a,%d ulperr %.3f = %a + %a\n",