BigInteger.this
- this(byte[] val, int off, int len)
- this(byte[] val)
- this(int signum, byte[] magnitude, int off, int len)
- this(int signum, byte[] magnitude)
- this(string val, int radix)
- this(char[] val, int sign, int len)
- this(string val)
- this(int numBits, Random* rnd)
- this(int bitLength, int certainty, Random* rnd)
- this(int[] magnitude, int signum)
hunt math BigInteger BigInteger
constructorsfunctionsstatic functionsstatic variablesvariables
Constructs a randomly generated BigInteger, uniformly distributed over the range 0 to (2<sup>{@code numBits}</sup> - 1), inclusive. The uniformity of the distribution assumes that a fair source of random bits is provided in {@code rnd}. Note that this constructor always constructs a non-negative BigInteger.
@param numBits maximum bitLength of the new BigInteger. @param rnd source of randomness to be used in computing the new BigInteger. @throws IllegalArgumentException {@code numBits} is negative. @see #bitLength()