Searched defs:bitLength (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/test/java/math/BigInteger/
H A DBigIntegerTest.java142 public static void bitLength() { method in class:BigIntegerTest
149 int tmp = x, bitLength, j;
152 bitLength = 32 - j;
154 if (bigX.bitLength() != bitLength) {
155 //System.err.println(x+": "+bitLength+", "+bigX.bitLength());
173 for (int j=0; j<x.bitLength(); j++)
178 for (int j=0; j<x.bitLength(); j++)
187 for (int j=0; j<x.bitLength();
[all...]
/openjdk7/jdk/src/share/classes/java/math/
H A DBigInteger.java137 * One plus the bitLength of this BigInteger. Zeros means unitialized.
141 * @see #bitLength()
146 private int bitLength; field in class:BigInteger
486 * @param numBits maximum bitLength of the new BigInteger.
490 * @see #bitLength()
513 * prime, with the specified bitLength.
519 * @param bitLength bitLength of the returned BigInteger.
527 * @throws ArithmeticException {@code bitLength < 2}.
528 * @see #bitLength()
530 BigInteger(int bitLength, int certainty, Random rnd) argument
562 probablePrime(int bitLength, Random rnd) argument
579 smallPrime(int bitLength, int certainty, Random rnd) argument
623 largePrime(int bitLength, int certainty, Random rnd) argument
1506 private static int bitLength(int[] val, int len) { method in class:BigInteger
2395 public int bitLength() { method in class:BigInteger
[all...]

Completed in 316 milliseconds