X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=62f1a4e3ffa598238a2ecf5f5b796b6eeb5b8dab;hb=9b9e359952c7591c8cf54ae49a412bbc96bc9cd6;hp=37b5c1ac8e080f09e0d3a2b9dbda345343b3598a;hpb=125fb69ba64c0064de25eb1a23217b00aa393051;p=libc-test diff --git a/src/math/llround.c b/src/math/llround.c index 37b5c1a..62f1a4e 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -4,6 +4,7 @@ static struct d_i t[] = { #include "sanity/llround.h" +#include "special/llround.h" }; @@ -30,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 llround(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;