X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=a6c991a5468a381a8231ea38e9c105c8e5ddfab4;hb=4b4849e54740efe153632dfb14052d7210cea6c6;hp=403fa235f21ba9242ca6dbce156c34b1a756eb35;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/llround.c b/src/math/llround.c index 403fa23..a6c991a 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_i t[] = { #include "sanity/llround.h" @@ -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 llround(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;