24 Jun 19:33
Incompatible change to RANDOM
From: Raymond Toy (RT/EUS <raymond.toy <at> ericsson.com>
Subject: Incompatible change to RANDOM
Newsgroups: gmane.lisp.cmucl.devel, gmane.lisp.cmucl.general
Date: 2008-06-24 17:34:10 GMT
Subject: Incompatible change to RANDOM
Newsgroups: gmane.lisp.cmucl.devel, gmane.lisp.cmucl.general
Date: 2008-06-24 17:34:10 GMT
Just a heads-up.
I've checked in an enhancement to RANDOM that makes random much faster
for numbers between 1 and 2^32 and also gets rid of the small bias in
RANDOM.[1]
This change is incompatible with previous releases since the sequence
of random integers from the same starting state will be different from
before.
Ray
Footnotes:
[1] RANDOM was computing random integers using (rem <random 32-bit
int> val). This has a small bias in it.
RSS Feed