X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fscalblnl.c;h=249248311ec1bb9059dfcb63fe6e483194331ec5;hb=517ccafc57089ac88b88050a4c7ab0ece4235e19;hp=fc9d0d80852f561ae7f25a6599118746cea61c0c;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/scalblnl.c b/src/math/scalblnl.c index fc9d0d8..2492483 100644 --- a/src/math/scalblnl.c +++ b/src/math/scalblnl.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/scalbln.h" +#include "special/scalbln.h" #elif LDBL_MANT_DIG == 64 #include "sanity/scalblnl.h" +#include "special/scalblnl.h" #endif }; @@ -30,7 +32,7 @@ int main(void) y = scalblnl(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 scalblnl(%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));