X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Flogbf.c;h=076ab262d929da5ad83d1b598cd23f899cd0fcff;hb=beb27269aef47413b4b32a18709f104681ffedeb;hp=12f4757de14dee3d6aa0c2d0b0e92fc0cb0ae0ef;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/logbf.c b/src/math/logbf.c index 12f4757..076ab26 100644 --- a/src/math/logbf.c +++ b/src/math/logbf.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "sanity/logbf.h" +#include "special/logbf.h" }; @@ -32,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 logbf(%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;