X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fmodfl.c;h=943364402227b555b3e64d6974f6d6a760e3d24a;hb=5470d80bb36173c5cb5a314362ef9be9378aab4e;hp=84abdcd837119a589a0472ddd039924747d9ade5;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/modfl.c b/src/math/modfl.c index 84abdcd..9433644 100644 --- a/src/math/modfl.c +++ b/src/math/modfl.c @@ -30,7 +30,8 @@ int main(void) y = modfl(p->x, &yi); e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW); - if (!checkexcept(e, p->e, p->r)) { + /* TODO: fix inexact */ + if (!checkexceptall(e|INEXACT, p->e|INEXACT, p->r)) { printf("%s:%d: bad fp exception: %s modf(%La)=%La,%La, want %s", p->file, p->line, rstr(p->r), p->x, p->y, p->y2, estr(p->e)); printf(" got %s\n", estr(e));