public static Number Ratio(IntFraction val) { return new Number(val); }
public static IntFraction neg(IntFraction x) { // If x is normalized, we do not need to call RatNum.make to normalize. return(new IntFraction(IntNum.neg(x.numerator()), x.denominator())); }
public override Numeric neg() { return(IntFraction.neg(this)); }
public static IntFraction neg(IntFraction x) { // If x is normalized, we do not need to call RatNum.make to normalize. return new IntFraction (IntNum.neg (x.numerator()), x.denominator ()); }