From: "shyouhei (Shyouhei Urabe)" Date: 2012-12-06T03:24:53+09:00 Subject: [ruby-core:50593] [ruby-trunk - Feature #7517] Fixnum::MIN,MAX Issue #7517 has been updated by shyouhei (Shyouhei Urabe). I'm not against these constant. Just wanted to note that (for instance) max Fixnum can portally be obtained via: 1 << (1.size * 8 - 2) - 1 ---------------------------------------- Feature #7517: Fixnum::MIN,MAX https://bugs.ruby-lang.org/issues/7517#change-34434 Author: matz (Yukihiro Matsumoto) Status: Open Priority: Normal Assignee: 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 -- http://bugs.ruby-lang.org/