X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fcopysignf.c;h=e8bb7680403a43b1b466e78374ff2e9a6b51d7d7;hb=b35e816189efde540e299412172acf6cd987dfdd;hp=705b6ca45d728fda266e1c3f210b426db56442c7;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/copysignf.c b/src/math/copysignf.c index 705b6ca..e8bb768 100644 --- a/src/math/copysignf.c +++ b/src/math/copysignf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct ff_f t[] = { #include "sanity/copysignf.h" @@ -26,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));