X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffdimf.c;h=d7792bf1750ce1a83f984262e70592ba8f1f5d53;hb=713aa1df9c8a3b2a5515c862a06bdab47e20dcf2;hp=56dac2fbab8ade0bf7b7338a3f4180c2f1a0f2f6;hpb=113f496dbfc3cd215f852a35efe96f246f594a6c;p=libc-test diff --git a/src/math/fdimf.c b/src/math/fdimf.c index 56dac2f..d7792bf 100644 --- a/src/math/fdimf.c +++ b/src/math/fdimf.c @@ -32,7 +32,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 fdimf(%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++;