X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffmodf.c;h=1a7035028d5450e6431190765b65b528ea083f1e;hb=0d73b701b3c4bb8a200a35eed056ef6eef311713;hp=d92a7e69d7502ea089dda5c0e2b3db8f5695d956;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fmodf.c b/src/math/fmodf.c index d92a7e6..1a70350 100644 --- a/src/math/fmodf.c +++ b/src/math/fmodf.c @@ -1,10 +1,11 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "ucb/fmodf.h" #include "sanity/fmodf.h" +#include "special/fmodf.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 fmodf(%a,%a) want %a got %a 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++;