X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalblnf.c;h=ab19cf2c1eb185c07d19b3885437c93c5b902f1e;hb=1d90e185c4ef9246e7e4bf02c3ee13cbd71dd7da;hp=659bea4e1db0bf3270a60531b9113ca527ca42d2;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/scalblnf.c b/src/math/scalblnf.c index 659bea4..ab19cf2 100644 --- a/src/math/scalblnf.c +++ b/src/math/scalblnf.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct fi_f t[] = { #include "sanity/scalblnf.h" +#include "special/scalblnf.h" }; @@ -25,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));