X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fremainder.c;h=2debbb73acf80f7bded4cb13f53756591528443a;hp=f8278baa82d97c6af24d0c95d5003f29b4831ef7;hb=8f89d908656122033909033a7a71c87636319a08;hpb=8b86f7f60953d319461ef976cf1dadb6da7999d8 diff --git a/src/math/remainder.c b/src/math/remainder.c index f8278ba..2debbb7 100644 --- a/src/math/remainder.c +++ b/src/math/remainder.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)) { printf("%s:%d: %s remainder(%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++;