X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcopysignf.c;h=705b6ca45d728fda266e1c3f210b426db56442c7;hb=1a1bad41337d53922fde2abf8645de006c871965;hp=a53f6f20624e319611148df6b40ec5a6e7cc6b1f;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/copysignf.c b/src/math/copysignf.c index a53f6f2..705b6ca 100644 --- a/src/math/copysignf.c +++ b/src/math/copysignf.c @@ -4,6 +4,7 @@ static struct ff_f t[] = { #include "sanity/copysignf.h" +#include "special/copysignf.h" }; @@ -32,7 +33,7 @@ int main(void) err++; } d = ulperrf(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s copysignf(%a,%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, y, d, d-p->dy, p->dy); err++;