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