X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flogbf.c;h=4f0f0d0011d8f2128d390fef1d127cb99c7ff408;hb=b35e816189efde540e299412172acf6cd987dfdd;hp=7d60218876a1b2f87c85e10bc4902c78c213ee7a;hpb=1a1bad41337d53922fde2abf8645de006c871965;p=libc-test diff --git a/src/math/logbf.c b/src/math/logbf.c index 7d60218..4f0f0d0 100644 --- a/src/math/logbf.c +++ b/src/math/logbf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "sanity/logbf.h" @@ -26,7 +26,7 @@ int main(void) y = logbf(p->x); 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 logbf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));