public static RubyArray /*!*/ GcdLcm(int self, int other) { int gcd = SignedGcd(self, other); return(new RubyArray { ClrInteger.Abs(gcd), Lcm(self, other, gcd) }); }
public static object Next(int self) { return(ClrInteger.Add(self, 1)); }
public static object /*!*/ Gcd(int self, int other) { return(ClrInteger.Abs(SignedGcd(self, other))); }
public static object Pred(int self) { return(ClrInteger.Subtract(self, 1)); }