Searched refs:midbit (Results 1 – 2 of 2) sorted by relevance
307 BigInteger midbit = BigInteger.ZERO.setBit(i); in test_addLjava_math_BigInteger() local308 assertTrue("add fails to carry on bit " + i, midbit.add(midbit) in test_addLjava_math_BigInteger()
284 BigInteger midbit = zero.setBit(i); in test_addLjava_math_BigInteger() local285 assertTrue("add fails to carry on bit " + i, midbit.add(midbit) in test_addLjava_math_BigInteger()322 BigInteger midbit = zero.setBit(i); in test_negate() local323 BigInteger negate = midbit.negate(); in test_negate()324 assertTrue("negate negate", negate.negate().equals(midbit)); in test_negate()325 assertTrue("neg fails on bit " + i, midbit.negate().add(midbit) in test_negate()