Actions
Bug #12249
closedMath.gamma(-0.0) should return -Infinity
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32]
Backport:
Description
On Windows, Math.gamma(-0.0) returns +Infinity instead of -Infinity,
which is the correct result according to tgamma(3) and the behavior on other platforms.
Is this OK to fix in Ruby?
There is already a similar fix for #10642.
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0