X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fnexttowardf.c;h=0cbed2f7e96ef75b50b8c34a713a84219b887b65;hb=b55b931794bff9e88a3443daa8404c74f7f1d17c;hp=b026bd10d153f8f961c50cd6c397af9db13fb18e;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/nexttowardf.c b/src/math/nexttowardf.c index b026bd1..0cbed2f 100644 --- a/src/math/nexttowardf.c +++ b/src/math/nexttowardf.c @@ -33,7 +33,7 @@ int main(void) y = nexttowardf(p->x, p->x2); 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 nexttowardf(%La,%La)=%La, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));