X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbn.c;h=9b664dc27bc6ddf0e60891612f1aeff947d05a4c;hb=a7679dc971b8f1174ee0d308aa3590787634a343;hp=9b37f96a583a5070c4f7fb64e9d6d54c693f3ff3;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/scalbn.c b/src/math/scalbn.c index 9b37f96..9b664dc 100644 --- a/src/math/scalbn.c +++ b/src/math/scalbn.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct di_d t[] = { #include "sanity/scalbn.h" @@ -26,7 +26,7 @@ int main(void) y = scalbn(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 scalbn(%a, %lld)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->i, p->y, estr(p->e)); printf(" got %s\n", estr(e));