X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fmodf.c;h=c0ce9d894073f222fd0709f3a9631da1cb2c0864;hb=8f89d908656122033909033a7a71c87636319a08;hp=a8e26c1a4462e95731de394dfdd0f9e5dcb19635;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/modf.c b/src/math/modf.c index a8e26c1..c0ce9d8 100644 --- a/src/math/modf.c +++ b/src/math/modf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_dd t[] = { #include "sanity/modf.h" @@ -25,7 +25,7 @@ int main(void) y = modf(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 modf(%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));