X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftanl.c;h=8165b365a40d7d72175f019d88653f9741ed9d1a;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hp=79ac8513c1b222b6dbcaa9a9b07a34c6e1df4d64;hpb=4282b03a8c212b0e38af1876364be5f332673ce6;p=libc-test diff --git a/src/math/tanl.c b/src/math/tanl.c index 79ac851..8165b36 100644 --- a/src/math/tanl.c +++ b/src/math/tanl.c @@ -27,14 +27,15 @@ int main(void) y = tanl(p->x); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s tanl(%La)==%La except: want %s", rstr(p->r), p->x, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s tanl(%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 tanl(%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 tanl(%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++; } }