X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbln.c;h=30be0cc4c90616c06012860cbca8f8cb2bd573a4;hb=db4b6cef06a63b1a43c654c3b98fe4e47fc7d411;hp=0231cebc4dcd450371b867590d8d9b64ac28b95e;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/scalbln.c b/src/math/scalbln.c index 0231ceb..30be0cc 100644 --- a/src/math/scalbln.c +++ b/src/math/scalbln.c @@ -4,6 +4,7 @@ static struct di_d t[] = { #include "sanity/scalbln.h" +#include "special/scalbln.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 scalbln(%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++;