abs method

Rational abs()

Returns the absolute value of this num.

Implementation

Rational abs() => isNegative ? (-this) : this;