X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fremainder.c;h=2debbb73acf80f7bded4cb13f53756591528443a;hb=50ab48b035c2555e09cc9ac94c74f45b74b234f4;hp=1c65edb3a5c9b42c3109aec87870cc2c5e3b601e;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/remainder.c b/src/math/remainder.c index 1c65edb..2debbb7 100644 --- a/src/math/remainder.c +++ b/src/math/remainder.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct dd_d t[] = { #include "sanity/remainder.h" @@ -33,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++;