コード例 #1
0
ファイル: Bignum.cs プロジェクト: chunlea/rubydotnetcompiler
 internal Bignum(IronMath.integer value): this()
 {
     this.value = value;
 }
コード例 #2
0
ファイル: Bignum.cs プロジェクト: chunlea/rubydotnetcompiler
        // -----------------------------------------------------------------------------


        internal static object NormaliseUsing(IronMath.integer value)
        {
            if (Numeric.FIXNUM_MIN <= value && value <= Numeric.FIXNUM_MAX)
                return value.ToInt32();
            else 
                return new Bignum(value);
        }