X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Ferfc.c;h=4a4a4890c1679935a1e4438e29d504dce669972f;hp=799f79f862e7f9d308dac577141564ef3d323c09;hb=5fc943786cdd4e93efe31f9f742f2097cec9f8a1;hpb=75543c20a003e3108b51cb63998752d27621f993;ds=sidebyside diff --git a/src/math/erfc.c b/src/math/erfc.c index 799f79f..4a4a489 100644 --- a/src/math/erfc.c +++ b/src/math/erfc.c @@ -34,9 +34,12 @@ int main(void) } d = ulperr(y, p->y, p->dy); if (!checkulp(d, p->r)) { + if (fabs(d) < 4.0f) + printf("X "); + else + err++; printf("%s:%d: %s erfc(%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); - err++; } } return !!err;