[PATCH] Fix endless loop with Math.frexp(inf)
---------------------------------------------
Key: JRUBY-3090
URL: http://jira.codehaus.org/browse/JRUBY-3090
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Philip Jenvey
Attachments: frexp_inf-r7929.diff
The attached patch fixes Math.frexp with an Infinity arg going into an endless
loop, with a test case. I also added a NaN test case for completeness, but note
that NaN was already working correctly
I just fixed this in Jython -- and by chance noticed you guys had the same
problem =]
Patch is against trunk
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email