X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Froundf.c;h=d61762fd6e6fd61bb453cac113a89ceaf35cda09;hb=4be93bbd9546fb9f0155841935f0ed0d40f85a73;hp=345d4f34d2a1f2e04307a4e3bb60025a4ce54aa9;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/roundf.c b/src/math/roundf.c index 345d4f3..d61762f 100644 --- a/src/math/roundf.c +++ b/src/math/roundf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "sanity/roundf.h" @@ -26,7 +26,7 @@ int main(void) y = roundf(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 roundf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));