X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fldexp.c;h=93e92c29047a581d4f73c2e0a733bf8820270f0e;hb=d19c6ff9a927df8a6c6c69881bc1a93962252570;hp=1d1816004e06e59273a8bdebf97b1ac97c226c27;hpb=9c6efc03eba4568ba9f1672a2bb0c50a047edd8e;p=libc-test diff --git a/src/math/ldexp.c b/src/math/ldexp.c index 1d18160..93e92c2 100644 --- a/src/math/ldexp.c +++ b/src/math/ldexp.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct di_d t[] = { #include "sanity/ldexp.h" +#include "special/ldexp.h" }; @@ -25,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));