X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fmodf.c;h=c0ce9d894073f222fd0709f3a9631da1cb2c0864;hb=8f89d908656122033909033a7a71c87636319a08;hp=5352a77dd910e3dcebb896efd0eedc8baf43e4a9;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/modf.c b/src/math/modf.c index 5352a77..c0ce9d8 100644 --- a/src/math/modf.c +++ b/src/math/modf.c @@ -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));