X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffdiml.c;h=5a27042b559d4844e7bc848d4c1168092c4b9372;hb=517ccafc57089ac88b88050a4c7ab0ece4235e19;hp=9f6eb95a29ee699f9c3494987d12a2081a6aa9d3;hpb=713aa1df9c8a3b2a5515c862a06bdab47e20dcf2;p=libc-test diff --git a/src/math/fdiml.c b/src/math/fdiml.c index 9f6eb95..5a27042 100644 --- a/src/math/fdiml.c +++ b/src/math/fdiml.c @@ -1,13 +1,15 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ll_l t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/fdim.h" +#include "special/fdim.h" #elif LDBL_MANT_DIG == 64 #include "sanity/fdiml.h" +#include "special/fdiml.h" #endif }; @@ -30,7 +32,7 @@ int main(void) y = fdiml(p->x, p->x2); 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 fdiml(%La,%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));