X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllrintf.c;h=e8f5fa4f39eb3187426d02bb1440c1f5861c4aac;hb=5625f7d633fa22dd50b94b086abaa0dbcc0e6208;hp=2f19d56844fb0ca02590119bb719d8e484304da6;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/llrintf.c b/src/math/llrintf.c index 2f19d56..e8f5fa4 100644 --- a/src/math/llrintf.c +++ b/src/math/llrintf.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 llrintf(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;