X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=blobdiff_plain;f=src%2Fmath%2Fsin.c;h=e29019d45d415f3f09b399780c4be0490fa0e4e5;hp=d0c07d9e247af6e11b6493e5660bd9c03950eeea;hb=5fc943786cdd4e93efe31f9f742f2097cec9f8a1;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1 diff --git a/src/math/sin.c b/src/math/sin.c index d0c07d9..e29019d 100644 --- a/src/math/sin.c +++ b/src/math/sin.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_d t[] = { #include "crlibm/sin.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 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;