random-bits

Generates a random series of bits.  Returns a fixed integer that has $random-bits-count random bits.  This function is the fastest way to get a random series of bits.

Exported from

Modifiers

sealed

Arguments

state:An instance of <random-state>.  The state used to generate the random number.  Defaults to *random-state*.

Values

bitsAn instance of <integer>.
Number of bits returned by random-bits.
The Random module.
Used to compute a random number.
An instance that maintains the random state.
The class of integers.