X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsqrtf.c;h=1809ef838e079758705a2149a153dd287f1e7499;hb=e248db1c46f61cf34548e739bc6ff106013b1ba2;hp=6c3fb0463f3cfb7bbac32c92f3e833de1e164d25;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/sqrtf.c b/src/math/sqrtf.c index 6c3fb04..1809ef8 100644 --- a/src/math/sqrtf.c +++ b/src/math/sqrtf.c @@ -5,6 +5,7 @@ static struct f_f t[] = { #include "ucb/sqrtf.h" #include "sanity/sqrtf.h" +#include "special/sqrtf.h" }; @@ -33,7 +34,7 @@ int main(void) err++; } d = ulperrf(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + if (!checkcr(y, p->y, p->r)) { printf("%s:%d: %s sqrtf(%a) want %a got %a ulperr %.3f = %a + %a\n", p->file, p->line, rstr(p->r), p->x, p->y, y, d, d-p->dy, p->dy); err++;