Abs() private method

private Abs ( int self ) : object
self int
return object
Beispiel #1
0
        public static RubyArray /*!*/ GcdLcm(int self, int other)
        {
            int gcd = SignedGcd(self, other);

            return(new RubyArray {
                ClrInteger.Abs(gcd), Lcm(self, other, gcd)
            });
        }
Beispiel #2
0
 public static object /*!*/ Gcd(int self, int other)
 {
     return(ClrInteger.Abs(SignedGcd(self, other)));
 }