From: kretebe@... Date: 2014-12-12T12:50:51+00:00 Subject: [ruby-core:66809] [ruby-trunk - Bug #10592] Adding floats resluts in an incorrect result Issue #10592 has been updated by Domokos Molnar. So true. Sorry about reporting it. ---------------------------------------- Bug #10592: Adding floats resluts in an incorrect result https://bugs.ruby-lang.org/issues/10592#change-50381 * Author: Domokos Molnar * Status: Rejected * Priority: Normal * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- ~~~ruby 1.1+1.1+1.1 = 3.3 ~~~ However in the current 2.1.5 this is what happens: ~~~ruby dmolnar@domalaptop:~> irb 2.1.5 :001 > 1.1+1.1+1.1 => 3.3000000000000003 2.1.5 :002 > ~~~ ---Files-------------------------------- test_float.rb (17 Bytes) -- https://bugs.ruby-lang.org/