Prior to Ruby 2.4 Prior to Ruby 2.4, Float and BigDecimal responded to methods infinite? and finite?, whereas Fixnum and Bignum did not. Ruby 2.3 1#infinite? 2 35.0.infinite? 4=> nil 5 6Float::INFINITY.infinite? 7=> 1 8 95.infinite? 10NoMethodError: undefined method `infinite?' for 5:Fixnum 11 Copy