Actions
Bug #10592
closedAdding floats resluts in an incorrect result
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]
Backport:
Description
1.1+1.1+1.1 = 3.3
However in the current 2.1.5 this is what happens:
dmolnar@domalaptop:~> irb
2.1.5 :001 > 1.1+1.1+1.1
=> 3.3000000000000003
2.1.5 :002 >
Files
Actions
Like0
Like0Like0Like0Like0Like0