X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffminf.c;h=c86569abb3ba4bb0fddd082871314a73fa71a652;hb=7b5ccd5b5297e4a0e413a1517699fbfb5bb575be;hp=db85a51128fad4af62d1f07b57946c72e5a34fcb;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fminf.c b/src/math/fminf.c index db85a51..c86569a 100644 --- a/src/math/fminf.c +++ b/src/math/fminf.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/fminf.h" +#include "special/fminf.h" }; @@ -32,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 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++;