From: Dimitrij Denissenko Date: 2010-08-26T21:07:22+09:00 Subject: [ruby-core:31849] [Bug #3746] Incorrect Float subtraction Bug #3746: Incorrect Float subtraction http://redmine.ruby-lang.org/issues/show/3746 Author: Dimitrij Denissenko Status: Open, Priority: High ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux] This is copied from IRB: ruby-1.9.2-p0 > 2.0 - 1.0 => 1.0 ruby-1.9.2-p0 > 2.0 - 1.1 => 0.8999999999999999 ruby-1.9.2-p0 > 2.0 - 1.2 => 0.8 ruby-1.9.2-p0 > 2.0 - 1.3 => 0.7 ruby-1.9.2-p0 > 2.0 - 1.4 => 0.6000000000000001 ruby-1.9.2-p0 > 2.0 - 1.5 => 0.5 ruby-1.9.2-p0 > 2.0 - 1.6 => 0.3999999999999999 ruby-1.9.2-p0 > 2.0 - 1.7 => 0.30000000000000004 ruby-1.9.2-p0 > 2.0 - 1.8 => 0.19999999999999996 ruby-1.9.2-p0 > 2.0 - 1.9 => 0.10000000000000009 ---------------------------------------- http://redmine.ruby-lang.org