X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fceilf.c;h=4f37ae7d3351f93be455fe4f812f3c534f94e1c5;hb=7fd3b84625cfa955207526eda74d9261c5324549;hp=4b0a31769aa4a78e958d82fef1dc3087c7e79fc4;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/ceilf.c b/src/math/ceilf.c index 4b0a317..4f37ae7 100644 --- a/src/math/ceilf.c +++ b/src/math/ceilf.c @@ -5,6 +5,7 @@ static struct f_f t[] = { #include "ucb/ceilf.h" #include "sanity/ceilf.h" +#include "special/ceilf.h" }; @@ -33,7 +34,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 ceilf(%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++;