X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fy1f.c;h=3498434306a04f595e4ae822d23912069e8b6b2b;hb=457b0dbfc1d72080f6ba9fe47cd712e0f090732a;hp=bc9148b775c0b118065b9c99d2216fb98693149c;hpb=f9d17902a35b6403b7c8354845e9f13f882c1c8e;p=libc-test diff --git a/src/math/y1f.c b/src/math/y1f.c index bc9148b..3498434 100644 --- a/src/math/y1f.c +++ b/src/math/y1f.c @@ -3,8 +3,8 @@ #include "util.h" static struct f_f t[] = { - #include "sanity/y1f.h" + }; int main(void) @@ -20,14 +20,15 @@ int main(void) y = y1f(p->x); e = getexcept(); if (!checkexcept(e, p->e, p->r)) { - printf("%s y1f(%a)==%a except: want %s", rstr(p->r), p->x, p->y, estr(p->e)); + printf("%s:%d: bad fp exception: %s y1f(%a)=%a, want %s", + p->file, p->line, rstr(p->r), p->x, 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 y1f(%a) want %a got %a ulperr %.3f = %a + %a\n", - rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); + printf("%s:%d: %s y1f(%a) want %a got %a ulperr %.3f = %a + %a\n", + p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++; } }