Mail Archives: djgpp-workers/1998/11/20/20:15:07
While we are discussing rand(), may I ask if there's any interest in
adding the slew of *rand48() functions?
For those who don't know what those are, they are based on the formula
X(n+1) = (aX(n) + c) mod (2^48), where n >= 0, with the possibility to
change a and c and last but not least ~half of them take the (pseudo-)
random state as a parameter thus enabling the possibility of
(hopefully) independent random numbers.
Barclay James Harvest, Mocking Bird,
MartinS
- Raw text -