Actions
Bug #6274
closedFloat addition incorrect
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p21 (2012-01-07 revision 34224) [x86_64-linux]
Backport:
Description
Adding decimals with repeating values appears to lead to an error in returned value.
For example if you inspect:
10 + 1.0 / 3.0
or
33 + 1.0 / 3.0
the values are not what they should be. You will need to test this in IRB.
Actions
Like0
Like0Like0