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()
279 BigInteger midbit = zero.setBit(i); in test_addLjava_math_BigInteger() local280 assertTrue("add fails to carry on bit " + i, midbit.add(midbit) in test_addLjava_math_BigInteger()317 BigInteger midbit = zero.setBit(i); in test_negate() local318 BigInteger negate = midbit.negate(); in test_negate()319 assertTrue("negate negate", negate.negate().equals(midbit)); in test_negate()320 assertTrue("neg fails on bit " + i, midbit.negate().add(midbit) in test_negate()