![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.2 |
Assignee:
|
Thomas E Enebo
|
Components:
|
Ruby 1.9.3 |
Created:
|
16/Feb/13 3:36 PM
|
Description:
|
Hi guys,
it looks like dividing any BigDecimal by a Float between 0 and 1 results in Infinity:
And dividing a BigDecimal("0") by such a float results in NaN:
This happens only in 1.9 mode:
And it worked in 1.6.8:
Digging a bit further I found out the following: Dividing using .div with 0 digits works:
But with more than 0 digits it crashes like this:
This also works in 1.8 mode:
Plase keep up the good work and thank you very much for any hints on that,
Heiko Seebach
|
Environment:
|
Linux
|
Project:
|
JRuby
|
Priority:
|
Critical
|
Reporter:
|
Heiko Seebach
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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