X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Ftgamma.c;h=18992fe771c0754dd4d1e419cc705343a9de9d53;hb=1d90e185c4ef9246e7e4bf02c3ee13cbd71dd7da;hp=f10a744e78a4f95dac8c136b110d11ffc847fcfa;hpb=cfa23cc1bd01f5c44d7746b8b1839f84d5e1b6eb;p=libc-test diff --git a/src/math/tgamma.c b/src/math/tgamma.c index f10a744..18992fe 100644 --- a/src/math/tgamma.c +++ b/src/math/tgamma.c @@ -33,7 +33,8 @@ int main(void) err++; } d = ulperr(y, p->y, p->dy); - if (!checkulp(d, p->r)) { + // TODO: 2 ulp errors allowed + if (p->r==RN && fabs(d)>2) { printf("%s:%d: %s tgamma(%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++;