pub const fn abs(self) -> Self {
        Self {
            minus: false,
            numerator: self.numerator,
            denominator: self.denominator,
        }
    }
/// Computes the absolute value of `self`.
///
/// # Examples
///
/// ```
/// use lib_rust::math::rational::Rational;
///
/// let num: Rational = (-1, 3).into();
///
/// assert_eq!(num.abs(), -num);
/// ```
Computes the absolute value of `self`.
Computes the absolute value of ` self ` .
pub const fn abs(self) -> Self {
        Self {
            minus: false,
            numerator: self.numerator,
            denominator: self.denominator,
        }
    }
pub const fn abs ( self ) -> Self { Self { minus : false , numerator : self . numerator , denominator : self . denominator , } }
Computes the absolute value of `self`.
Computes the absolute value of ` self ` .
self
self
examples
```
use lib_rust::math::rational::Rational.




` ` ` use lib_rust :: math :: rational :: Rational .