X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftgammal.c;fp=src%2Fmath%2Ftgammal.c;h=28bc4a87a32e7d6e60e34c3a6bfb551e789f2aeb;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hp=a004d6a3dfccdc8f9faa080f650633f42cbc3f6c;hpb=8d3db42ce8924972e11a12b997f8d09fc012d2b7;p=libc-test diff --git a/src/math/tgammal.c b/src/math/tgammal.c index a004d6a..28bc4a8 100644 --- a/src/math/tgammal.c +++ b/src/math/tgammal.c @@ -25,14 +25,15 @@ int main(void) y = tgammal(p->x); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s tgammal(%La)==%La except: want %s", rstr(p->r), p->x, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s tgammal(%La)=%La, want %s", + p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e)); err++; } d = ulperrl(y, p->y, p->dy); if (!checkulp(d, p->r)) { - printf("%s tgammal(%La) want %La got %La ulperr %.3f = %a + %a\n", - rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); + printf("%s:%d: %s tgammal(%La) want %La got %La ulperr %.3f = %a + %a\n", + p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++; } }