From: Urabe Shyouhei Date: 2012-12-06T07:11:39+09:00 Subject: [ruby-core:50597] Re: [ruby-trunk - Feature #7517] Fixnum::MIN,MAX On 12/05/2012 10:38 AM, Charles Oliver Nutter wrote: > On Wed, Dec 5, 2012 at 12:24 PM, shyouhei (Shyouhei Urabe) > wrote: >> 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 > > Not on JRuby. JRuby's Fixnum is always a full signed 64-bit integer. Oh, good to know that. So you always use boxed types and unboxing is left to the VM.