X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fasinh.c;h=0d28fff5e1790792dbc4a25c3c802fb4f8eb5a8c;hb=50ab48b035c2555e09cc9ac94c74f45b74b234f4;hp=fc9e68ceeb8ca751e27ab9011f1285ac582e6665;hpb=d22f4f43182fe1cc70b343b6a52cb8e3a54d1f44;p=libc-test diff --git a/src/math/asinh.c b/src/math/asinh.c index fc9e68c..0d28fff 100644 --- a/src/math/asinh.c +++ b/src/math/asinh.c @@ -1,9 +1,10 @@ #include #include -#include "util.h" +#include "mtest.h" static struct d_d t[] = { #include "sanity/asinh.h" +#include "special/asinh.h" }; @@ -33,6 +34,8 @@ int main(void) } d = ulperr(y, p->y, p->dy); if (!checkulp(d, p->r)) { + // only report at most one <2ulp error + if (fabsf(d) < 2 && err) continue; printf("%s:%d: %s asinh(%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++;