Beispiel #1
0
        public Complex BigIntegerObjectToComplexConversion(CallSite site, object value)
        {
            if (value is BigInteger)
            {
                return(BigIntegerOps.ConvertToComplex((BigInteger)value));
            }

            return(((CallSite <Func <CallSite, object, Complex> >)site).Update(site, value));
        }
Beispiel #2
0
 public object BigIntegerToComplexObjectConversion(CallSite site, BigInteger value)
 {
     return((object)BigIntegerOps.ConvertToComplex((BigInteger)value));
 }
Beispiel #3
0
 public Complex BigIntegerToComplexConversion(CallSite site, BigInteger value)
 {
     return(BigIntegerOps.ConvertToComplex(value));
 }