From: headius@... Date: 2014-09-01T16:49:47+00:00 Subject: [ruby-core:64706] [ruby-trunk - Feature #7517] Fixnum::MIN,MAX Issue #7517 has been updated by Charles Nutter. An obvious use case would be to make algorithms know how large an integer they can represent in Fixnum without overflowing to Bignum. This is strictly a Fixnum thing, too, so I think having the constants on Fixnum is exactly right. In JRuby, Fixnum::MAX and MIN would be 64-bit signed integer max and min. ---------------------------------------- Feature #7517: Fixnum::MIN,MAX https://bugs.ruby-lang.org/issues/7517#change-48600 * Author: Yukihiro Matsumoto * Status: Assigned * Priority: Normal * Assignee: Yukihiro Matsumoto * Category: core * Target version: next minor ---------------------------------------- Maximum (or minimum) number of fixnum can not be get in portable fashion, so I propose Fixnum::MAX and Fixnum::MIN just like Float::MAX and Float::MIN. Matz -- https://bugs.ruby-lang.org/