X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmaxf.c;h=cd34a3bf96a9c0ce90d9fa31b88216eac42fadf7;hb=ae0f0fe09b7fc9d44d072c3fd08372991d852b1d;hp=9268786052a72339114a6fbc860f5661809d7a74;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fmaxf.c b/src/math/fmaxf.c index 9268786..cd34a3b 100644 --- a/src/math/fmaxf.c +++ b/src/math/fmaxf.c @@ -4,6 +4,7 @@ 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++;