X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalblnf.c;h=ab19cf2c1eb185c07d19b3885437c93c5b902f1e;hb=8dc17fa12d0ed5d041e6521ebf3249ffd192c31b;hp=11155080b6faf10901783b5e1b3c26097c5c8214;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/scalblnf.c b/src/math/scalblnf.c index 1115508..ab19cf2 100644 --- a/src/math/scalblnf.c +++ b/src/math/scalblnf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct fi_f t[] = { #include "sanity/scalblnf.h" @@ -26,7 +26,7 @@ int main(void) y = scalblnf(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 scalblnf(%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));