Esempio n. 1
0
 public BigInteger flipBit(int n)
 {
     if (n < 0)
     {
         throw new ArithmeticException("Negative bit address");
     }
     return(BitLevel.flipBit(this, n));
 }
Esempio n. 2
0
 public BigInteger clearBit(int n)
 {
     if (testBit(n))
     {
         return(BitLevel.flipBit(this, n));
     }
     return(this);
 }