Version: 4.1.1
3.2.7 "rand"
(include-book "rand" :dir :teachpacks)
This teachpack provides functional pseudorandom number generation.
Produces a starting point for the pseudorandom number generator.
seed : posp |
Updates the pseudorandom seed. Call after each use of rand to avoid reusing a seed value.
max : posp |
seed : posp |
Produces a number between 0 and (1- max), dependent on seed.