X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftruncf.c;h=94825d967da2b72ad6c5eb80f23b081de1253246;hb=2113a3ed8217775797dd9a82aa420c10ef1712d5;hp=119362391858605f43852d847a027b72afc51d01;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/truncf.c b/src/math/truncf.c index 1193623..94825d9 100644 --- a/src/math/truncf.c +++ b/src/math/truncf.c @@ -26,7 +26,7 @@ int main(void) y = truncf(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 truncf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));