Abs() private method

private Abs ( BigInteger self ) : object
self Microsoft.Scripting.Math.BigInteger
return object
示例#1
0
文件: Integer.cs 项目: yyyyj/ironruby
        public static RubyArray /*!*/ GcdLcm(BigInteger /*!*/ self, BigInteger /*!*/ other)
        {
            BigInteger gcd = SignedGcd(self, other);

            return(new RubyArray {
                ClrBigInteger.Abs(gcd), Lcm(self, other, gcd)
            });
        }
示例#2
0
文件: Integer.cs 项目: yyyyj/ironruby
 public static object /*!*/ Gcd(BigInteger /*!*/ self, BigInteger /*!*/ other)
 {
     return(ClrBigInteger.Abs(SignedGcd(self, other)));
 }