X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainderf.c;h=a648b044d318e6ad62c69c5d8a45a255c9342a27;hb=9dd2aab201c1e36853c7501d40ae22dbe37c87c3;hp=bc22fdce8dbade7b3126e33d3abeeb645be04435;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/remainderf.c b/src/math/remainderf.c index bc22fdc..a648b04 100644 --- a/src/math/remainderf.c +++ b/src/math/remainderf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/remainderf.h" @@ -33,7 +33,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 remainderf(%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++;