End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Numeric#finite?
num.finite? → true or false
numeric.c
View on GitHub ↗
static VALUE
num_finite_p(VALUE num)
{
return Qtrue;
}
Returns true if num is a finite number, otherwise returns false.