X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fmodfl.c;h=5a19e8382ce9140218dc0e36cee7700d5789c724;hb=e81f47f6663602eaae2911c62d2b28298815c72f;hp=c555cd439c5f5c9112dd92efc9a58db18bd1874e;hpb=9c6efc03eba4568ba9f1672a2bb0c50a047edd8e;p=libc-test diff --git a/src/math/modfl.c b/src/math/modfl.c index c555cd4..5a19e83 100644 --- a/src/math/modfl.c +++ b/src/math/modfl.c @@ -1,12 +1,14 @@ #include #include -#include "util.h" +#include "mtest.h" static struct l_ll t[] = { #if LDBL_MANT_DIG == 53 #include "sanity/modf.h" +#include "special/modf.h" #elif LDBL_MANT_DIG == 64 #include "sanity/modfl.h" +#include "special/modfl.h" #endif }; @@ -28,7 +30,7 @@ int main(void) y = modfl(p->x, &yi); 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 modf(%La)=%La,%La, want %s", p->file, p->line, rstr(p->r), p->x, p->y, p->y2, estr(p->e)); printf(" got %s\n", estr(e));