X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmath%2Fldexpl.c;h=b04ef453ddce6c959c468c0732e7a39805d8889d;hb=2064be16d307b6409cd518303897cd0763cfdb97;hp=c45e9c52e81732009264403a7db25f7e1dc58509;hpb=9c6efc03eba4568ba9f1672a2bb0c50a047edd8e;p=libc-test diff --git a/src/math/ldexpl.c b/src/math/ldexpl.c index c45e9c5..b04ef45 100644 --- a/src/math/ldexpl.c +++ b/src/math/ldexpl.c @@ -1,13 +1,15 @@ #include #include -#include "util.h" +#include "mtest.h" static struct li_l t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/ldexp.h" +#include "special/ldexp.h" #elif LDBL_MANT_DIG == 64 #include "sanity/ldexpl.h" +#include "special/ldexpl.h" #endif }; @@ -30,7 +32,7 @@ int main(void) y = ldexpl(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 ldexpl(%La, %lld)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->i, p->y, estr(p->e)); printf(" got %s\n", estr(e));