X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Ffmaf.c;h=05fb09aa2cf4380dcfa02c27d73867ac13bb02e4;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=20fdb025fd33972b1c0b353b8bb8875bb8df9f29;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/fmaf.c b/src/math/fmaf.c index 20fdb02..05fb09a 100644 --- a/src/math/fmaf.c +++ b/src/math/fmaf.c @@ -31,7 +31,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 fmaf(%a,%a,%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->x2, p->x3, p->y, y, d, d-p->dy, p->dy); err++;