X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fj0.c;h=b893c00973e47681b49b5059c165584cd9da72b8;hb=c8999dd6b4a06f4963d7d7cfb82a7e30682b76d0;hp=4e3bc3183ec4513b4f8e841a56a90293a8a7691a;hpb=7b5ccd5b5297e4a0e413a1517699fbfb5bb575be;p=libc-test diff --git a/src/math/j0.c b/src/math/j0.c index 4e3bc31..b893c00 100644 --- a/src/math/j0.c +++ b/src/math/j0.c @@ -1,4 +1,3 @@ -#define _BSD_SOURCE 1 #define _XOPEN_SOURCE 700 #include #include @@ -36,9 +35,12 @@ int main(void) } d = ulperr(y, p->y, p->dy); if (!checkulp(d, p->r)) { - printf("%s:%d: %s j0(%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); +// printf("%s:%d: %s j0(%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++; + // TODO: avoid spamming the output + printf(__FILE__ ": known to be broken near zeros\n"); + break; } } return !!err;