X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fjnf.c;h=fa5265c26bac8f1e7621b640f4ea05eea2c5e646;hp=f9330a35d30bedcd3114cc7c1eb5da5e1501a547;hb=5fc943786cdd4e93efe31f9f742f2097cec9f8a1;hpb=75543c20a003e3108b51cb63998752d27621f993 diff --git a/src/math/jnf.c b/src/math/jnf.c index f9330a3..fa5265c 100644 --- a/src/math/jnf.c +++ b/src/math/jnf.c @@ -35,9 +35,12 @@ int main(void) } d = ulperrf(y, p->y, p->dy); if (!checkulp(d, p->r)) { + if (fabsf(d) < 3.0f) + printf("X "); + else + err++; printf("%s:%d: %s jnf(%lld, %a) want %a got %a, ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->i, p->x, p->y, y, d, d-p->dy, p->dy); - err++; } } return !!err;