示例#1
0
        public void Zero()
        {
            IntX int1 = new IntX(7) - 7;

            int1.Normalize();
            Assert.IsTrue(int1 == 0);
        }
示例#2
0
 public void Simple()
 {
     IntX int1 = new IntX(8);
     int1 *= int1;
     int1.Normalize();
     Assert.IsTrue(int1 == 64);
 }
示例#3
0
        public void Simple()
        {
            IntX int1 = new IntX(8);

            int1 *= int1;
            int1.Normalize();
            Assert.IsTrue(int1 == 64);
        }
示例#4
0
 public void Zero()
 {
     IntX int1 = new IntX(7) - 7;
     int1.Normalize();
     Assert.IsTrue(int1 == 0);
 }
示例#5
0
 private BigInt(IntX value)
 {
     _v = value;
     _v.Normalize();
 }
示例#6
0
 private BigInt(BigInt copyThis)
 {
     _v = new IntX(copyThis._v);
     _v.Normalize();
 }
示例#7
0
 public BigInt(String number)
 {
     _v = new IntX(number);
     _v.Normalize();
 }
示例#8
0
文件: BigInt.cs 项目: vogon/Demotic
 private BigInt(IntX value)
 {
     _v = value;
     _v.Normalize();
 }
示例#9
0
文件: BigInt.cs 项目: vogon/Demotic
 private BigInt(BigInt copyThis)
 {
     _v = new IntX( copyThis._v );
     _v.Normalize();
 }
示例#10
0
文件: BigInt.cs 项目: vogon/Demotic
 public BigInt(String number)
 {
     _v = new IntX( number );
     _v.Normalize();
 }