X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fceill.c;h=b2707b9977ecbd49538b38e6f0d78620f8dbd1a1;hb=db87a4c3abf99af95d5dfe27f77b6815ec27a4f4;hp=d3a3ed433c3034b3b5cfc32d97c00bbe0044d89c;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/ceill.c b/src/math/ceill.c index d3a3ed4..b2707b9 100644 --- a/src/math/ceill.c +++ b/src/math/ceill.c @@ -6,9 +6,11 @@ static struct l_l t[] = { #if LDBL_MANT_DIG == 53 #include "ucb/ceil.h" #include "sanity/ceil.h" +#include "special/ceil.h" #elif LDBL_MANT_DIG == 64 #include "sanity/ceill.h" +#include "special/ceill.h" #endif }; @@ -38,7 +40,7 @@ int main(void) err++; } d = ulperrl(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s ceill(%La) want %La got %La ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;