X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremquol.c;h=cf64126d2b1e0b9622c90ecb22604d9a4baabe45;hb=a7679dc971b8f1174ee0d308aa3590787634a343;hp=6a75008ea4d0a7e7ede14d650a419748a4007f9b;hpb=b3580f11bf7b91afd597e6224c2f265d6d0b087f;p=libc-test diff --git a/src/math/remquol.c b/src/math/remquol.c index 6a75008..cf64126 100644 --- a/src/math/remquol.c +++ b/src/math/remquol.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_li t[] = { #include "sanity/remquol.h" @@ -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 remquol(%La,%La) want %La,%lld got %La,%d ulperr %.3f = %a + %a\n",