From: Motohiro KOSAKI Date: 2011-09-07T08:09:30+09:00 Subject: [ruby-core:39313] [Backport93 - Backport #5272] Float#round doesn't round big values Issue #5272 has been updated by Motohiro KOSAKI. If I parsed this thread correctly, this bug is not a regression. therefore it isn't 1.9.3p0 material. I think. ---------------------------------------- Backport #5272: Float#round doesn't round big values http://redmine.ruby-lang.org/issues/5272 Author: Marc-Andre Lafortune Status: Open Priority: Normal Assignee: Category: core Target version: 1.9.3 For large enough values (outside of Fixnum range), Float#round does not round at all but simply truncates: 2.999999999999999e20.round(-20) # => 200000000000000000000 Fixed in trunk, but would be nice to backport for Ruby 1.9.3. -- http://redmine.ruby-lang.org