X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffdimf.c;h=f48d25b049574ddb9f353525c939901015087222;hb=e248db1c46f61cf34548e739bc6ff106013b1ba2;hp=56dac2fbab8ade0bf7b7338a3f4180c2f1a0f2f6;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fdimf.c b/src/math/fdimf.c index 56dac2f..f48d25b 100644 --- a/src/math/fdimf.c +++ b/src/math/fdimf.c @@ -4,6 +4,7 @@ static struct ff_f t[] = { #include "sanity/fdimf.h" +#include "special/fdimf.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 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++;