X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffminf.c;h=3d3a97b1cd154d030ec5c17d175775ac5ad9b5f2;hb=b3580f11bf7b91afd597e6224c2f265d6d0b087f;hp=db85a51128fad4af62d1f07b57946c72e5a34fcb;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fminf.c b/src/math/fminf.c index db85a51..3d3a97b 100644 --- a/src/math/fminf.c +++ b/src/math/fminf.c @@ -4,6 +4,7 @@ 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++;