Previous: Random State Seeding, Up: Random Number Functions [Index]
Return a uniformly distributed random number of n bits, i.e. in the
range 0 to 2^n-1 inclusive. n must be less than or
equal to the number of bits in an unsigned long
.
Return a uniformly distributed random number in the range 0 to n-1, inclusive.