RANDOM &co documentation

Bug #656839 reported by Nikodemus Siivola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Medium
Unassigned

Bug Description

1. The fact that initial value of *RANDOM-STATE* is consistent is not documented.

2. SEED-RANDOM-STATE is not mentioned in the manual, nor is random number generation discussed there otherwise.

Lutz Euler (lutz-euler)
Changed in sbcl:
status: Triaged → In Progress
assignee: nobody → Lutz Euler (lutz-euler)
Revision history for this message
Lutz Euler (lutz-euler) wrote :

SEED-RANDOM-STATE has already been added to the manual,
shortly after this bug was opened. Its formatting is broken there;
I have just committed a fix for that.

Revision history for this message
Lutz Euler (lutz-euler) wrote :

I add a patch for review that adds a manual section
dealing with random number generation.

tags: added: review
Revision history for this message
Lutz Euler (lutz-euler) wrote :

In light of the recent discussion about the properties
of random floats on sbcl-help I have added some notes
about these to the patch. Attached is the new version.

Revision history for this message
Lutz Euler (lutz-euler) wrote :

I reworded the first paragraph about random floats,
trying to get ideas detailed in the meantime by Paul
in the above-mentioned sbcl-help discussion across.

Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

+1

Revision history for this message
Lutz Euler (lutz-euler) wrote :

I have just committed the patch from #4,
with a small grammatical correction.

Changed in sbcl:
status: In Progress → Fix Committed
assignee: Lutz Euler (lutz-euler) → nobody
tags: removed: review
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.