X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbnf.c;h=9e1203c2d5cbc2ab501649d287194ac30a6560e7;hb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;hp=de588a228d4e047121e5664f4b8d570e6161efac;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/scalbnf.c b/src/math/scalbnf.c index de588a2..9e1203c 100644 --- a/src/math/scalbnf.c +++ b/src/math/scalbnf.c @@ -4,6 +4,7 @@ static struct fi_f t[] = { #include "sanity/scalbnf.h" +#include "special/scalbnf.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 scalbnf(%a, %lld) want %a got %a, ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->i, p->y, y, d, d-p->dy, p->dy); err++;