Exemplo n.º 1
0
 internal Bignum(IronMath.integer value): this()
 {
     this.value = value;
 }
Exemplo n.º 2
0
        // -----------------------------------------------------------------------------


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