pub const fn new_sign(neg: bool, num: u128, den: u128) -> Frac {
        let gcd = gcd_of(num, den);

        let num = num / gcd;
        let den = den / gcd;

        Frac {
            neg,
            num,
            den,
        }
    }
/// Instnatiate a new fraction
///
/// This constructor takes as arguments the numerator and denominator, both
/// as u128s, as well as the sign of the fraction. `true` represents
/// a negative value, `false` represents a positive value.
///
/// Examples:
/// ```
/// use frac::Frac;
///
/// let f = Frac::new_sign(true, 1, 12);
/// println!("{}", f); // -1/12
/// ```
Instnatiate a new fraction
This constructor takes as arguments the numerator and denominator, both
as u128s, as well as the sign of the fraction. `true` represents
a negative value, `false` represents a positive value.




Instnatiate a new fraction This constructor takes as arguments the numerator and denominator both as u128s as well as the sign of the fraction . ` true ` represents a negative value ` false ` represents a positive value .
pub const fn new_sign(neg: bool, num: u128, den: u128) -> Frac {
        let gcd = gcd_of(num, den);
        let num = num / gcd;
        let den = den / gcd;
        Frac {
            neg,
            num,
            den,
        }
    }
pub const fn new_sign ( neg : bool , num : u128 , den : u128 ) -> Frac { let gcd = gcd_of ( num , den ) ; let num = num / gcd ; let den = den / gcd ; Frac { neg , num , den , } }
Instnatiate a new fraction
This constructor takes as arguments the numerator and denominator, both
as u128s, as well as the sign of the fraction.
Instnatiate a new fraction This constructor takes as arguments the numerator and denominator both as u128s as well as the sign of the fraction .
neg
bool
num
u128
den
u128
neg
bool
num
u128
den
u128