X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcopysignf.c;h=e8bb7680403a43b1b466e78374ff2e9a6b51d7d7;hb=281b80f0e70fe28356c3f0ded8b86f28a5c74d0a;hp=3e86729d85470550e20a245d702db7faaceac714;hpb=5729b0cb56800bde195ac79324f23af6a54bdaac;p=libc-test diff --git a/src/math/copysignf.c b/src/math/copysignf.c index 3e86729..e8bb768 100644 --- a/src/math/copysignf.c +++ b/src/math/copysignf.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/copysignf.h" +#include "special/copysignf.h" }; @@ -25,7 +26,7 @@ int main(void) y = copysignf(p->x, p->x2); e = fetestexcept(INEXACT|INVALID|DIVBYZERO|UNDERFLOW|OVERFLOW); - if (!checkexcept(e, p->e, p->r)) { + if (!checkexceptall(e, p->e, p->r)) { printf("%s:%d: bad fp exception: %s copysignf(%a,%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->x2, p->y, estr(p->e)); printf(" got %s\n", estr(e));