From: Nobuyoshi Nakada Date: 2011-08-27T17:20:46+09:00 Subject: [ruby-core:39137] Re: [Ruby 1.9 - Bug #5227][Assigned] Float#round fails on corner cases Hi, At Sat, 27 Aug 2011 04:40:16 +0900, Marc-Andre Lafortune wrote in [ruby-core:39126]: > > Additional to say: > > * add test for this to test/ruby/test_float.rb > > I already committed tests in RubySpec, which I believe is where they > are the most useful. No. In fact, your patch breaks test/ruby/test_float.rb. 1) Failure: test_round_with_precision(TestFloat) [test/ruby/test_float.rb:326]: <1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000> expected but was <0>. -- Nobu Nakada