From: Run Paint Run Run Date: 2010-08-03T16:39:12+09:00 Subject: [ruby-core:31603] [Bug #3648] Bignum Incomparable with Float::INFINITY Bug #3648: Bignum Incomparable with Float::INFINITY http://redmine.ruby-lang.org/issues/show/3648 Author: Run Paint Run Run Status: Open, Priority: Normal Category: core ruby -v: ruby 1.9.3dev (2010-07-12 trunk 28620) [i686-linux] >> 2**7 > Float::INFINITY => false >> 2**79 > Float::INFINITY => -1 >> 2**79 < Float::INFINITY => -1 >> big = 2**77889 >> big.is_a? Bignum => true >> big == Float::INFINITY => true ---------------------------------------- http://redmine.ruby-lang.org