X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fgen%2Ftemplate%2Ff_fi.c;h=4a2104e7f0591d0a8a1988bb9b2a452f731a1def;hb=2146d5e12aa52cb97f0a151e2611967f0653a07a;hp=1e19a4c01a2162a571fd13e0730bc7d26d1673f1;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/gen/template/f_fi.c b/src/math/gen/template/f_fi.c index 1e19a4c..4a2104e 100644 --- a/src/math/gen/template/f_fi.c +++ b/src/math/gen/template/f_fi.c @@ -32,7 +32,7 @@ int main(void) err++; } d = ulperrf(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkulp(d, p->r) || yi != p->i) { printf("%s:%d: %s ___(%a) want %a,%lld got %a,%d ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, p->i, y, yi, d, d-p->dy, p->dy); err++;