X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Ferfc.c;h=4a4a4890c1679935a1e4438e29d504dce669972f;hb=HEAD;hp=6834d5da52656a069cc66faf267504dcd8a54bf8;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/erfc.c b/src/math/erfc.c index 6834d5d..4a4a489 100644 --- a/src/math/erfc.c +++ b/src/math/erfc.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_d t[] = { #include "sanity/erfc.h" +#include "special/erfc.h" }; @@ -33,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;