Handbook
Glossary
random-32 ( -- n )
Generating random integers
Prev:
randoms ( length obj -- seq )
Next:
with-random ( rnd quot -- )
Vocabulary
random
Inputs
None
Outputs
n
a 32-bit random integer
Word description
Outputs 32 random bits. This word is more efficient than calling
random
because no scaling is done on the output.
See also
random-32*
Definition
USING:
namespaces
;
IN:
random
:
random-32
( -- n )
random-generator
get
random-32*
;