X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fmodff.c;h=d599f9fdb616349bdd5d494fa5e6713befa87ca2;hb=cda5e0484c98223a552580e79af378a6e6e83305;hp=ce91f9819d86cf43b362a023ba07fc16ba1d4e60;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/modff.c b/src/math/modff.c index ce91f98..d599f9f 100644 --- a/src/math/modff.c +++ b/src/math/modff.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_ff t[] = { #include "sanity/modff.h" @@ -25,7 +25,7 @@ int main(void) y = modff(p->x, &yi); 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 modff(%a)=%a,%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, p->y2, estr(p->e)); printf(" got %s\n", estr(e));