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