X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fj0.c;fp=src%2Fmath%2Fj0.c;h=c40d4f09aa3e374b3dd3364b7c6a18ba29f1ce49;hp=ddf4064c1160a2f1c54f9fd117abcd7151b0539c;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hpb=8d3db42ce8924972e11a12b997f8d09fc012d2b7 diff --git a/src/math/j0.c b/src/math/j0.c index ddf4064..c40d4f0 100644 --- a/src/math/j0.c +++ b/src/math/j0.c @@ -20,14 +20,15 @@ int main(void) y = j0(p->x); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s j0(%a)==%a except: want %s", rstr(p->r), p->x, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s j0(%a)=%a, want %s", + p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e)); err++; } d = ulperr(y, p->y, p->dy); if (!checkulp(d, p->r)) { - printf("%s j0(%a) want %a got %a ulperr %.3f = %a + %a\n", - 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++; } }