X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fatanl.c;h=0aee4a4a4d975f03650cce071a0a696d34da2f64;hp=5bf3ee7e68d0cca3a567411bb65e8762ef4d3cd5;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hpb=8d3db42ce8924972e11a12b997f8d09fc012d2b7 diff --git a/src/math/atanl.c b/src/math/atanl.c index 5bf3ee7..0aee4a4 100644 --- a/src/math/atanl.c +++ b/src/math/atanl.c @@ -27,14 +27,15 @@ int main(void) y = atanl(p->x); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s atanl(%La)==%La except: want %s", rstr(p->r), p->x, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s atanl(%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 atanl(%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 atanl(%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++; } }