X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmodl.c;h=3dd7f4fc30e31fc2f2b5d8541d62752afc8286dc;hb=6c9a64c370c3fd92b1cda3ef4246933956575c12;hp=7f715e3f7486245aff80fc7944820aa3b920e66f;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fmodl.c b/src/math/fmodl.c index 7f715e3..3dd7f4f 100644 --- a/src/math/fmodl.c +++ b/src/math/fmodl.c @@ -1,14 +1,16 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 #include "ucb/fmod.h" #include "sanity/fmod.h" +#include "special/fmod.h" #elif LDBL_MANT_DIG == 64 #include "sanity/fmodl.h" +#include "special/fmodl.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 fmodl(%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++;