X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllrintf.c;h=35d7087576c8da72ff1ada5c2be6eeb143059941;hb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;hp=2f19d56844fb0ca02590119bb719d8e484304da6;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/llrintf.c b/src/math/llrintf.c index 2f19d56..35d7087 100644 --- a/src/math/llrintf.c +++ b/src/math/llrintf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_i t[] = { #include "sanity/llrintf.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 llrintf(%a) want %lld got %lld\n", p->file, p->line, rstr(p->r), p->x, p->i, yi); err++;