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