X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fsin.c;h=e29019d45d415f3f09b399780c4be0490fa0e4e5;hp=1449b46faca7a95e373bf35d62ac5064ab76a258;hb=5fc943786cdd4e93efe31f9f742f2097cec9f8a1;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb diff --git a/src/math/sin.c b/src/math/sin.c index 1449b46..e29019d 100644 --- a/src/math/sin.c +++ b/src/math/sin.c @@ -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 sin(%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;