X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllround.c;h=a6c991a5468a381a8231ea38e9c105c8e5ddfab4;hb=517ccafc57089ac88b88050a4c7ab0ece4235e19;hp=37b5c1ac8e080f09e0d3a2b9dbda345343b3598a;hpb=125fb69ba64c0064de25eb1a23217b00aa393051;p=libc-test diff --git a/src/math/llround.c b/src/math/llround.c index 37b5c1a..a6c991a 100644 --- a/src/math/llround.c +++ b/src/math/llround.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_i t[] = { #include "sanity/llround.h" +#include "special/llround.h" }; @@ -30,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++;