X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flroundl.c;h=1a66be53f5754c18563909ef8fbd0153bba93742;hb=1a1bad41337d53922fde2abf8645de006c871965;hp=baa12e3bad46c1a4920c1d92ff3d28ec70f3d67e;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/lroundl.c b/src/math/lroundl.c index baa12e3..1a66be5 100644 --- a/src/math/lroundl.c +++ b/src/math/lroundl.c @@ -37,7 +37,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 lroundl(%La) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;