From: Szabolcs Nagy Date: Fri, 10 Apr 2015 18:45:16 +0000 (+0000) Subject: fix ulp check in sincosf X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=517ccafc57089ac88b88050a4c7ab0ece4235e19 fix ulp check in sincosf --- diff --git a/src/math/sincosf.c b/src/math/sincosf.c index 94e3654..f8df662 100644 --- a/src/math/sincosf.c +++ b/src/math/sincosf.c @@ -32,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,