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