Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigInteger.java627 this(1, randomBits(numBits, rnd)); in BigInteger()
630 private static byte[] randomBits(int numBits, Random rnd) { in randomBits() method in BigInteger
634 byte[] randomBits = new byte[numBytes]; in randomBits()
638 rnd.nextBytes(randomBits); in randomBits()
640 randomBits[0] &= (1 << (8-excessBits)) - 1; in randomBits()
642 return randomBits; in randomBits()