Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Math.gamma should return -∞ for -0.0 #658
The following ruby spec was failing for JRuby: https://github.com/rubyspec/rubyspec/blob/master/core/math/gamma_spec.rb#L14
This PR checks the sign for 0.0, and returns -∞ for negative 0.0.