X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffabsf.c;h=cef9b5ae97f70e642cc99463ad56aa9ad1de07ba;hb=d5fe2f139f48684f2e0f99a3c95ce63581e24740;hp=f572799bc5ee442fac1e52cc7b5e5e21b065ea8f;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/fabsf.c b/src/math/fabsf.c index f572799..cef9b5a 100644 --- a/src/math/fabsf.c +++ b/src/math/fabsf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "ucb/fabsf.h" @@ -27,7 +27,7 @@ int main(void) y = fabsf(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 fabsf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));