X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalb.c;h=70746b34ce540d688d1b3bf9cb6f64672d7dc431;hb=1a1bad41337d53922fde2abf8645de006c871965;hp=35ef2ce06cdc945e5edb8b4484883e0899061b7d;hpb=ddfb9f92381086ef0b29f6fdddee3f7e51fb82e1;p=libc-test diff --git a/src/math/scalb.c b/src/math/scalb.c index 35ef2ce..70746b3 100644 --- a/src/math/scalb.c +++ b/src/math/scalb.c @@ -4,6 +4,7 @@ static struct dd_d t[] = { #include "sanity/scalb.h" +#include "special/scalb.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 scalb(%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++;