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/