X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Ffminf.c;h=b6491108961d7bf9d789108a7efbd7d66a9a0b9a;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=db85a51128fad4af62d1f07b57946c72e5a34fcb;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/fminf.c b/src/math/fminf.c index db85a51..b649110 100644 --- a/src/math/fminf.c +++ b/src/math/fminf.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 fminf(%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++;