X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffabsf.c;h=cef9b5ae97f70e642cc99463ad56aa9ad1de07ba;hb=5470d80bb36173c5cb5a314362ef9be9378aab4e;hp=11abddf05dcda85a65b111df319cf179bde662c5;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/fabsf.c b/src/math/fabsf.c index 11abddf..cef9b5a 100644 --- a/src/math/fabsf.c +++ b/src/math/fabsf.c @@ -1,10 +1,11 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "ucb/fabsf.h" #include "sanity/fabsf.h" +#include "special/fabsf.h" }; @@ -26,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));