X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalbnf.c;h=69709a15c026bcdaa08f4053336bf3a12560bb18;hb=54c15bc45a8721b8482552586a50b2548271a3b4;hp=9e1203c2d5cbc2ab501649d287194ac30a6560e7;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/scalbnf.c b/src/math/scalbnf.c index 9e1203c..69709a1 100644 --- a/src/math/scalbnf.c +++ b/src/math/scalbnf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct fi_f t[] = { #include "sanity/scalbnf.h" @@ -26,7 +26,7 @@ int main(void) y = scalbnf(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 scalbnf(%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));