X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllrintl.c;h=4ebacbe7d0c3a89e3df7225c1dda565239ce5765;hb=1d90e185c4ef9246e7e4bf02c3ee13cbd71dd7da;hp=91d54479950b482e05403653b434b1b1b0c21f2d;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/llrintl.c b/src/math/llrintl.c index 91d5447..4ebacbe 100644 --- a/src/math/llrintl.c +++ b/src/math/llrintl.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct l_i t[] = { #if LDBL_MANT_DIG == 53 @@ -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 llrintl(%La) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;