From: "naruse (Yui NARUSE)" Date: 2013-09-17T11:03:20+09:00 Subject: [ruby-core:57236] [ruby-trunk - Bug #3648][Assigned] Bignum Incomparable with Float::INFINITY Issue #3648 has been updated by naruse (Yui NARUSE). Description updated Status changed from Closed to Assigned Target version changed from 2.0.0 to current: 2.1.0 r42954 reverted the commit ---------------------------------------- Bug #3648: Bignum Incomparable with Float::INFINITY https://bugs.ruby-lang.org/issues/3648#change-41851 Author: runpaint (Run Paint Run Run) Status: Assigned Priority: Normal Assignee: Category: core Target version: current: 2.1.0 ruby -v: ruby 1.9.3dev (2010-07-12 trunk 28620) [i686-linux] Backport: =begin >> 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 =end -- http://bugs.ruby-lang.org/