X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fldexp.c;h=93e92c29047a581d4f73c2e0a733bf8820270f0e;hb=d19c6ff9a927df8a6c6c69881bc1a93962252570;hp=7a5ac005cb810e16a397be82c0948b671764e946;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/ldexp.c b/src/math/ldexp.c index 7a5ac00..93e92c2 100644 --- a/src/math/ldexp.c +++ b/src/math/ldexp.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct di_d t[] = { #include "sanity/ldexp.h" @@ -26,7 +26,7 @@ int main(void) y = ldexp(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 ldexp(%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));