X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmod.c;h=76c26346e4bf68b84be0e494f5735555b7275eeb;hb=281b80f0e70fe28356c3f0ded8b86f28a5c74d0a;hp=3ba44279e4d074c6cb516be35e213ba3df2c1b16;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/fmod.c b/src/math/fmod.c index 3ba4427..76c2634 100644 --- a/src/math/fmod.c +++ b/src/math/fmod.c @@ -34,7 +34,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 fmod(%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++;