X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftan.c;h=a856f9649797a34f90bba01dc4d9ebae366ca6f9;hb=HEAD;hp=01452f1b84d0c7b30a063f0db32526a3c9442eb5;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/tan.c b/src/math/tan.c index 01452f1..a856f96 100644 --- a/src/math/tan.c +++ b/src/math/tan.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_d t[] = { #include "crlibm/tan.h" @@ -36,9 +36,12 @@ int main(void) } d = ulperr(y, p->y, p->dy); if (!checkulp(d, p->r)) { + if (p->r != RN) + printf("X "); + else + err++; printf("%s:%d: %s tan(%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++; } } return !!err;