X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fasinh.c;fp=src%2Fmath%2Fasinh.c;h=0d28fff5e1790792dbc4a25c3c802fb4f8eb5a8c;hb=38d7f0fab3f1c3a0fb702c25b32560fb1e1ed2b7;hp=7c82fc25949ed9ac574c4c4eea3ab8bd19de65de;hpb=9dd2aab201c1e36853c7501d40ae22dbe37c87c3;p=libc-test diff --git a/src/math/asinh.c b/src/math/asinh.c index 7c82fc2..0d28fff 100644 --- a/src/math/asinh.c +++ b/src/math/asinh.c @@ -34,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++;