Commit graph

7 commits

Author SHA1 Message Date
Jens Arnold
c05cd1676f Better random number generator: Mersenne twiser with improved initialisation. BSD-style license.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8396 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 01:21:26 +00:00
Jean-Philippe Bernardy
effb196053 random longness fixes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5950 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 13:28:39 +00:00
Jean-Philippe Bernardy
a161ef490f long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5946 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 11:13:00 +00:00
Linus Nielsen Feltzing
04c5ecb4ee Wrong typing caused a very skewed random number distribution
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5385 a1c6a512-1295-4272-9138-f99709370657
2004-11-06 23:33:07 +00:00
Björn Stenberg
b1404175f0 Use most significant bits instead (gives better random)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1381 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 11:24:54 +00:00
Björn Stenberg
25e92bd967 Vastly improved, now working, random! :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1379 a1c6a512-1295-4272-9138-f99709370657
2002-07-18 00:03:47 +00:00
Björn Stenberg
529e166888 New vastly improved random algorithm: Mersenne Twister
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1377 a1c6a512-1295-4272-9138-f99709370657
2002-07-17 23:07:45 +00:00