fix: Splat_random Macro not so random

This commit is contained in:
Wouter van Oijen 2006-07-24 20:27:29 +00:00
parent f420103b2e
commit 4e2e5e8c78
4 changed files with 27 additions and 18 deletions

View file

@ -8,6 +8,18 @@ versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief.
7.0.3
--------------------------------------------------------------------
* Numbers generated by the Splat_random macro were not evenly
distributed. It returned numbers between 0 and 'max' (inclusive)
with this two numbers occuring about half as much as other numbers.
This is now fixed, so it will return numbers between 0 and 'max-1'
(inclusive), with an equal probability of any of these numbers.
If you're using this macro, you might need to increment the max
parameter.
7.0.2
--------------------------------------------------------------------