X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ffabsf.c;h=f572799bc5ee442fac1e52cc7b5e5e21b065ea8f;hb=5625f7d633fa22dd50b94b086abaa0dbcc0e6208;hp=1dc99b4e2700846972440bab77f42cba3007fc06;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/fabsf.c b/src/math/fabsf.c index 1dc99b4..f572799 100644 --- a/src/math/fabsf.c +++ b/src/math/fabsf.c @@ -5,6 +5,7 @@ static struct f_f t[] = { #include "ucb/fabsf.h" #include "sanity/fabsf.h" +#include "special/fabsf.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 fabsf(%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++;