From: nobu@... Date: 2014-12-12T09:19:52+00:00 Subject: [ruby-core:66804] [ruby-trunk - Bug #10592] [Rejected] Adding floats resluts in an incorrect result Issue #10592 has been updated by Nobuyoshi Nakada. Description updated Status changed from Open to Rejected ---------------------------------------- Bug #10592: Adding floats resluts in an incorrect result https://bugs.ruby-lang.org/issues/10592#change-50377 * 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/