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

macro FIX2LONG

[edit]
long FIX2LONG(VALUE x)

Fixnum を long に変換します。 Fixnum は常に long に収まります。