Ruby 3.2 リファレンスマニュアル

macro UINT2NUM

[edit]
VALUE UINT2NUM(unsigned int i)

任意の整数を Fixnum か Bignum に変換します。