X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fround.c;h=86800d901af521b33869fc40f8b0863309ed953f;hb=2a4af1491709a649672431191a4de9e5e8c2d069;hp=a3fd5e952220d6b4b6b9941b89640aef47a3a82c;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/round.c b/src/math/round.c index a3fd5e9..86800d9 100644 --- a/src/math/round.c +++ b/src/math/round.c @@ -4,6 +4,7 @@ static struct d_d t[] = { #include "sanity/round.h" +#include "special/round.h" }; @@ -32,7 +33,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s round(%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++;