X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fscalbnl.c;h=9bc7bf552674eee5597ed64ccbd04030f24970d6;hb=c8999dd6b4a06f4963d7d7cfb82a7e30682b76d0;hp=cb7eb15ede780d00c2ddfd9ac1fa81cad42ded6f;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/scalbnl.c b/src/math/scalbnl.c index cb7eb15..9bc7bf5 100644 --- a/src/math/scalbnl.c +++ b/src/math/scalbnl.c @@ -1,13 +1,15 @@ #include #include -#include "util.h" +#include "mtest.h" static struct li_l t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/scalbn.h" +#include "special/scalbn.h" #elif LDBL_MANT_DIG == 64 #include "sanity/scalbnl.h" +#include "special/scalbnl.h" #endif }; @@ -30,7 +32,7 @@ int main(void) y = scalbnl(p->x, p->i); e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW); - if (!checkexcept(e, p->e, p->r)) { + if (!checkexceptall(e, p->e, p->r)) { printf("%s:%d: bad fp exception: %s scalbnl(%La, %lld)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->i, p->y, estr(p->e)); printf(" got %s\n", estr(e));