X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fceil.c;fp=src%2Fmath%2Fceil.c;h=e19e0a5ccee23b44101052af1c485821eb9fee7c;hb=5729b0cb56800bde195ac79324f23af6a54bdaac;hp=65c587da9e91ba7b594fb5dc6e25f92bf59fd627;hpb=dc1a7ecaaebc597a1f63d87d1c023bb82efda536;p=libc-test diff --git a/src/math/ceil.c b/src/math/ceil.c index 65c587d..e19e0a5 100644 --- a/src/math/ceil.c +++ b/src/math/ceil.c @@ -33,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 ceil(%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++;