public static BigInteger operator *(BigInteger a, int b) { bool IsPositive; uint Magnitude; if (b > 0) { IsPositive = true; Magnitude = (uint) b; } else { IsPositive = false; Magnitude = (uint) -b; } return new BigInteger(a.IsPositive == IsPositive, a.Magnitude * Magnitude); }
public static BigInteger operator +(BigInteger a, int b) { bool IsPositive; uint Magnitude; if (b > 0) { IsPositive = true; Magnitude = (uint) b; } else { IsPositive = false; Magnitude = (uint) -b; } if (a.IsPositive == IsPositive) { return new BigInteger(a.IsPositive, a.Magnitude + Magnitude); } else if (a.Magnitude > Magnitude) { return new BigInteger(a.IsPositive, a.Magnitude - Magnitude); } else { return new BigInteger(IsPositive, Magnitude - a.Magnitude); } }
protected virtual bool IsPrimeAcceptable(Mono.Math.BigInteger bi, object context) { throw new NotImplementedException(); }
public Boolean Mono.Math.BigInteger::op_LessThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
public Boolean Mono.Math.BigInteger::op_Inequality(Mono.Math.BigInteger,Mono.Math.BigInteger)
public Mono.Math.BigInteger Mono.Math.BigInteger::op_Division(Mono.Math.BigInteger,Mono.Math.BigInteger)
public Mono.Math.BigInteger Mono.Math.BigInteger::op_Subtraction(Mono.Math.BigInteger,Mono.Math.BigInteger)
public Mono.Math.BigInteger Mono.Math.BigInteger::ModPow(Mono.Math.BigInteger,Mono.Math.BigInteger)
//ctor: public BigInteger(Mono.Math.BigInteger bi, uint len) { }
//ctor: public BigInteger(Mono.Math.BigInteger bi) { }
public static BigInteger NextHighestPrime(Mono.Math.BigInteger bi) { throw new NotImplementedException(); }
public BigInteger ModPow(Mono.Math.BigInteger exp, BigInteger n) { throw new NotImplementedException(); }
public BigInteger ModInverse(Mono.Math.BigInteger modulus) { throw new NotImplementedException(); }
public BigInteger GCD(Mono.Math.BigInteger bi) { throw new NotImplementedException(); }
public Boolean Mono.Math.Prime.PrimalityTest::Invoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
public Sign Compare(Mono.Math.BigInteger bi) { throw new NotImplementedException(); }
public static uint Modulus(Mono.Math.BigInteger bi, uint ui) { throw new NotImplementedException(); }
public Mono.Math.BigInteger Mono.Math.BigInteger::op_Addition(Mono.Math.BigInteger,Mono.Math.BigInteger)
public static BigInteger Divid(Mono.Math.BigInteger bi1, BigInteger bi2) { throw new NotImplementedException(); }
public Mono.Math.BigInteger Mono.Math.BigInteger::op_Modulus(Mono.Math.BigInteger,Mono.Math.BigInteger)
public static BigInteger Multiply(Mono.Math.BigInteger bi, int i) { throw new NotImplementedException(); }
public Mono.Math.BigInteger Mono.Math.BigInteger::op_Multiply(Mono.Math.BigInteger,Mono.Math.BigInteger)
public static bool SmallPrimeSppTest(Mono.Math.BigInteger bi, ConfidenceFactor confidence) { throw new NotImplementedException(); }
public Boolean Mono.Math.BigInteger::op_GreaterThanOrEqual(Mono.Math.BigInteger,Mono.Math.BigInteger)
public static bool Test(Mono.Math.BigInteger n, ConfidenceFactor confidence) { throw new NotImplementedException(); }
public BigInteger(bool IsPositive, BigNatural Magnitude) { this.IsPositive = IsPositive; this.Magnitude = Magnitude; }
public Void Mono.Math.BigInteger::.ctor(Mono.Math.BigInteger/SignUInt32)
public Mono.Math.BigInteger Mono.Math.BigInteger::Add(Mono.Math.BigInteger,Mono.Math.BigInteger)
public Mono.Math.BigInteger Mono.Math.BigInteger::Subtract(Mono.Math.BigInteger,Mono.Math.BigInteger)
protected override bool PostTrialDivisionTests(Mono.Math.BigInteger bi) { throw new NotImplementedException(); }
public Mono.Math.BigInteger Mono.Math.BigInteger::Divid(Mono.Math.BigInteger,Mono.Math.BigInteger)
public IAsyncResult Mono.Math.Prime.PrimalityTest::BeginInvoke(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactorAsyncCallbackObject)
public Boolean Mono.Math.Prime.PrimalityTests::SmallPrimeSppTest(Mono.Math.BigInteger, Mono.Math.Prime.ConfidenceFactor)