From: Shyouhei Urabe Date: 2010-07-21T11:33:20+09:00 Subject: [ruby-core:31379] [Bug #3589][Rejected] Converting Bignums to Float for equality checks is wrong Issue #3589 has been updated by Shyouhei Urabe. Status changed from Open to Rejected irb(main):001:0> x = 10.0 ** 20 => 1.0e+20 irb(main):002:0> y = x + 1 => 1.0e+20 irb(main):003:0> y == x => true irb(main):004:0> Welcome to the Real world. It is a Float's "fault". Do not blame us. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3589 ---------------------------------------- http://redmine.ruby-lang.org