End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Numeric#abs2
num.abs2 → real
complex.c
View on GitHub ↗
static VALUE
numeric_abs2(VALUE self)
{
return f_mul(self, self);
}
Returns square of self.