From: "swanboy (Michael Swan)" Date: 2012-04-10T05:10:15+09:00 Subject: [ruby-core:44233] [ruby-trunk - Bug #6274][Open] Float addition incorrect Issue #6274 has been reported by swanboy (Michael Swan). ---------------------------------------- Bug #6274: Float addition incorrect https://bugs.ruby-lang.org/issues/6274 Author: swanboy (Michael Swan) Status: Open Priority: Low Assignee: Category: Target version: ruby -v: ruby 1.9.3p21 (2012-01-07 revision 34224) [x86_64-linux] 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. -- http://bugs.ruby-lang.org/