X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmaxf.c;h=8d787ed268e0c8f81aeea6b38b69fe112dba129f;hb=b76071f55afbc307d8922b195cbc8f5eaa8a773d;hp=9268786052a72339114a6fbc860f5661809d7a74;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fmaxf.c b/src/math/fmaxf.c index 9268786..8d787ed 100644 --- a/src/math/fmaxf.c +++ b/src/math/fmaxf.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/fmaxf.h" +#include "special/fmaxf.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 fmaxf(%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++;