instance method
Rational#negative?
() -> bool
rat.negative? → true or false
rational.c
View on GitHub ↗
static VALUE
nurat_negative_p(VALUE self)
{
get_dat1(self);
return RBOOL(INT_NEGATIVE_P(dat->num));
}
Returns true if rat is less than 0.