kranzky (Jason Hutchens)
- Login: kranzky
- Email: JasonHutchens@gmail.com
- Registered on: 11/28/2013
- Last sign in: 08/20/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
01/06/2014
-
02:44 PM Ruby Bug #9170: Math.sqrt returns different types when mathn is included; breaks various gems - this bug can be reproduced in Ruby 1.8 as well
- mrkn (Kenta Murata) wrote:
> It's not a bug.
I'm a middle-man here, but I have gem maintainers claiming that it is a bug, because the documentation for Math.sqrt() indicates that it returns a Float, and that it's therefore OK to assu...
11/28/2013
-
11:55 AM Ruby Bug #9170 (Closed): Math.sqrt returns different types when mathn is included; breaks various gems - this bug can be reproduced in Ruby 1.8 as well
- Math.sqrt() usually returns a Float or throws an exception. Some gems rely on this behaviour (e.g. by calling nan? on the results of a calculation that includes a sqrt).
After requiring mathn, Math.sqrt() returns an Integer in some ca...