X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainderf.c;h=a648b044d318e6ad62c69c5d8a45a255c9342a27;hb=8dc17fa12d0ed5d041e6521ebf3249ffd192c31b;hp=a06f2bd026a9012ca105bc25c0bd74e0ff27e6f5;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/remainderf.c b/src/math/remainderf.c index a06f2bd..a648b04 100644 --- a/src/math/remainderf.c +++ b/src/math/remainderf.c @@ -33,7 +33,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 remainderf(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, y, d, d-p->dy, p->dy); err++;