X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flround.c;h=36d3907faf79523c94235b3c2cfe69e3244c9099;hb=ae0f0fe09b7fc9d44d072c3fd08372991d852b1d;hp=7041288aef7e64a5e2b2ba8ad0f3f6801777d5cf;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/lround.c b/src/math/lround.c index 7041288..36d3907 100644 --- a/src/math/lround.c +++ b/src/math/lround.c @@ -31,7 +31,7 @@ int main(void) printf(" got %s\n", estr(e)); err++; } - if (yi != p->i) { + if (!(p->e&INVALID) && yi != p->i) { printf("%s:%d: %s lround(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;