From: Robert Feldt Date: 2000-11-21T00:01:16+09:00 Subject: [ruby-talk:6463] Re: Is there a FITS_IN_UINT(v)? On Mon, 20 Nov 2000, Dave Thomas wrote: > Do FIXABLE (and POSFIXABLE, NEGFIXABLE) in ruby.h do what you want? > No, I need a directive or function that returns true if 0 <= v < 2**(uintbits) where uintbits is number of bits in unsigned int on machine in question. So for example 2**31 should be ok since it can be stored in uint even though it's not a Fixnum. Regards, Robert