BigInt.randomInteger

  1. BigInt randomInteger(RandomNumberGenerator rng, const(BigInt)* min, const(BigInt)* max)
    struct BigInt
    public static
    randomInteger
  2. BigInt randomInteger(RandomNumberGenerator rng, BigInt min, BigInt max)

Parameters

rng RandomNumberGenerator

a random number generator

min const(BigInt)*

the minimum value

max const(BigInt)*

the maximum value

Return Value

Type: BigInt

random integer in [min,max)

Meta