X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsincosf.c;h=f8df662ade19fb3369e5766f6e2b045a4f296908;hb=HEAD;hp=e21fbd97d13581683a7964e4092049458ceef63e;hpb=cb9f87af9a1f917facd1140603b24f1087729751;p=libc-test diff --git a/src/math/sincosf.c b/src/math/sincosf.c index e21fbd9..f8df662 100644 --- a/src/math/sincosf.c +++ b/src/math/sincosf.c @@ -1,9 +1,11 @@ +#define _GNU_SOURCE 1 #include #include -#include "util.h" +#include "mtest.h" static struct f_ff t[] = { #include "sanity/sincosf.h" +#include "special/sincosf.h" }; int main(void) @@ -30,8 +32,8 @@ int main(void) printf(" got %s\n", estr(e)); err++; } - dsin = ulperr(ysin, p->y, p->dy); - dcos = ulperr(ycos, p->y2, p->dy2); + dsin = ulperrf(ysin, p->y, p->dy); + dcos = ulperrf(ycos, p->y2, p->dy2); if (!checkulp(dsin, p->r) || !checkulp(dcos, p->r)) { printf("%s:%d: %s sincosf(%a) want %a,%a got %a,%a, ulperr %.3f = %a + %a, %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, p->y2, ysin, ycos,