X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftrunc.c;h=377118cf524aa8918d4953b6af55149dd594f018;hb=d5fe2f139f48684f2e0f99a3c95ce63581e24740;hp=3b20db7d7522d533bae25cdab7b479b776b8fc2f;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/trunc.c b/src/math/trunc.c index 3b20db7..377118c 100644 --- a/src/math/trunc.c +++ b/src/math/trunc.c @@ -26,7 +26,7 @@ int main(void) y = trunc(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 trunc(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));