X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainderl.c;h=b028519d98e473b366d25a79101dccd8a9a3d60a;hb=d05da15802af606664c6879a7463bae1c7d62223;hp=f1c8be0b7ee79f6734a237d898923d32f0f1308f;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/remainderl.c b/src/math/remainderl.c index f1c8be0..b028519 100644 --- a/src/math/remainderl.c +++ b/src/math/remainderl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 @@ -39,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++;