X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbnl.c;h=9bc7bf552674eee5597ed64ccbd04030f24970d6;hb=2bfb414517031063e18dc4a07543e279dc07461d;hp=136112c7567dd1b31fa68794c49aa11b7e555cfc;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/scalbnl.c b/src/math/scalbnl.c index 136112c..9bc7bf5 100644 --- a/src/math/scalbnl.c +++ b/src/math/scalbnl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct li_l t[] = { #if LDBL_MANT_DIG == 53 @@ -32,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));