question: public void testClearBitNegativeInside3 ( ) { String as = "-18446744073709551615" ; int number = 2 ; BigInteger aNumber = new BigInteger ( as ) ; BigInteger result = aNumber . clearBit ( number ) ; assertEquals ( as , result . toString ( ) ) ; }
target:  clearBit(2) in the negative number with all ones in bit representation