X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsqrtf.c;h=8e8f8fe20ec8243d19bc4e977c4844ef7958b038;hb=4b4849e54740efe153632dfb14052d7210cea6c6;hp=1809ef838e079758705a2149a153dd287f1e7499;hpb=f3f0ff4782fc90bd0f3e48fd541ee431f76aaed1;p=libc-test diff --git a/src/math/sqrtf.c b/src/math/sqrtf.c index 1809ef8..8e8f8fe 100644 --- a/src/math/sqrtf.c +++ b/src/math/sqrtf.c @@ -1,6 +1,6 @@ #include #include -#include "util.h" +#include "mtest.h" static struct f_f t[] = { #include "ucb/sqrtf.h" @@ -27,7 +27,7 @@ int main(void) y = sqrtf(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 sqrtf(%a)=%a, want %s", p->file, p->line, rstr(p->r), p->x, p->y, estr(p->e)); printf(" got %s\n", estr(e));