X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Froundl.c;h=53eda20ba34dbbc2f15915ff1d43f13fe2ee4fc9;hb=281b80f0e70fe28356c3f0ded8b86f28a5c74d0a;hp=53b254f47fc09d55db041672622ad880a59c819c;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/roundl.c b/src/math/roundl.c index 53b254f..53eda20 100644 --- a/src/math/roundl.c +++ b/src/math/roundl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct l_l t[] = { #if LDBL_MANT_DIG == 53 @@ -32,7 +32,7 @@ int main(void) y = roundl(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 roundl(%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));