X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fgen%2Ftemplate%2Fff_f.c;fp=src%2Fmath%2Fgen%2Ftemplate%2Fff_f.c;h=6b3ae587db1cda06ab3ca30537e24fc881533fce;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hp=287d1b197198c53066f0c7e350a5edbd80b3f62e;hpb=8d3db42ce8924972e11a12b997f8d09fc012d2b7;p=libc-test diff --git a/src/math/gen/template/ff_f.c b/src/math/gen/template/ff_f.c index 287d1b1..6b3ae58 100644 --- a/src/math/gen/template/ff_f.c +++ b/src/math/gen/template/ff_f.c @@ -19,14 +19,15 @@ int main(void) y = ___(p->x, p->x2); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s ___(%a,%a)==%a except: want %s", rstr(p->r), p->x, p->x2, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s ___(%a,%a)=%a, want %s", + p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e)); err++; } d = ulperrf(y, p->y, p->dy); if (!checkulp(d, p->r)) { - printf("%s ___(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", - rstr(p->r), p->x, p->x2, p->y, y, d, d-p->dy, p->dy); + printf("%s:%d: %s ___(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", + p->file, p->line, rstr(p->r), p->x, p->x2, p->y, y, d, d-p->dy, p->dy); err++; } }