Robert Feldt <feldt / ce.chalmers.se> 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