Home
last modified time | relevance | path

Searched refs:bitLen (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerConstructorsTest.java742 int bitLen = 75; in testConstructorRandom() local
744 BigInteger aNumber = new BigInteger(bitLen, rnd); in testConstructorRandom()
745 assertTrue("incorrect bitLength", aNumber.bitLength() <= bitLen); in testConstructorRandom()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java4715 int bitLen = (len == 0 ? 0 : ((len - 1) << 5) + bitLengthForInt(mag[0]));
4716 int byteLen = (bitLen + 7) >>> 3;