wanted: way to create a RANDOM-STATE object a known seed
Bug #310116 reported by
Nikodemus Siivola
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Wishlist
|
Nathan Froyd |
Bug Description
MAKE-RANDOM-STATE allows copying a random state object, or creating a new randomly initialized one.
It would be useful to be able to initialize the state from a simpler seed value as well, for debugging purposes.
(Documenting the random state format so that people could manually construct them would be another alternative,
but probably less future proof.)
Changed in sbcl: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This patch fixes that bug AND makes the initialization method identical to the one used by the algorithm authors AND makes (MAKE-RANDOM-STATE T) much less predictable (and useless) than it used to be.