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