X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainderl.c;h=b028519d98e473b366d25a79101dccd8a9a3d60a;hb=9f72a5b491a7dc707fcf2e3dee1f8cd53e19ec9a;hp=5ce0f978214e396694a90f4a25dfe200dbb5be11;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/remainderl.c b/src/math/remainderl.c index 5ce0f97..b028519 100644 --- a/src/math/remainderl.c +++ b/src/math/remainderl.c @@ -1,13 +1,15 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/remainder.h" +#include "special/remainder.h" #elif LDBL_MANT_DIG == 64 #include "sanity/remainderl.h" +#include "special/remainderl.h" #endif }; @@ -37,7 +39,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 remainderl(%La,%La) want %La got %La 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++;