Actions
Bug #10642
closed2.2: TestMath#test_gamma test failure (MinGW)
Bug #10642:
2.2: TestMath#test_gamma test failure (MinGW)
Description
Actions
Added by luislavena (Luis Lavena) over 11 years ago. Updated over 10 years ago.
Description
http://sourceforge.net/p/mingw-w64/mingw-w64/ci/8a67ab4541226a80b3ec2047347890d915126de1/tree/mingw-w64-crt/math/tgamma.c#l122
tgamma() of mingw32-w64 is buggy in x > 709.782712893384 because pow(x, 0.5 * x - 0.25) / exp(x) == Inf / Inf == NaN.
It doesn't care of x > 172.
I guess the ticket should be "3rd party's issue", shouldn't it?
If you're going to insist, how about using missing/tgamma.c on mingw32-w64?
This issue keep failing in ruby_2_2 branch.
Please backport r49913.