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