X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainder.c;h=2debbb73acf80f7bded4cb13f53756591528443a;hb=cf1c9918305e2c23758f589a23c1f71af4c431ba;hp=4faa6d49a15589407583b14b89081c6e8c9078b1;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/remainder.c b/src/math/remainder.c index 4faa6d4..2debbb7 100644 --- a/src/math/remainder.c +++ b/src/math/remainder.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/remainder.h" +#include "special/remainder.h" }; @@ -32,7 +33,7 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s remainder(%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++;