From: Dave Thomas Date: 2000-11-20T23:45:09+09:00 Subject: [ruby-talk:6462] Re: Is there a FITS_IN_UINT(v)? Robert Feldt writes: > Since Ruby frequently has the stuff you tend to need I'd like to know if > there is a simple way (when writing C extension) to check if an Integer > will fit into an unsigned int? Or will I have to rb_rescue a call to > NUM2UINT? Do FIXABLE (and POSFIXABLE, NEGFIXABLE) in ruby.h do what you want? Regards Dave