summaryrefslogtreecommitdiff
path: root/firmware/common/random.c
AgeCommit message (Collapse)Author
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2006-01-20Better random number generator: Mersenne twiser with improved ↵Jens Arnold
initialisation. BSD-style license. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8396 a1c6a512-1295-4272-9138-f99709370657
2005-02-15random longness fixesJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5950 a1c6a512-1295-4272-9138-f99709370657
2005-02-15long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5946 a1c6a512-1295-4272-9138-f99709370657
2004-11-06Wrong typing caused a very skewed random number distributionLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5385 a1c6a512-1295-4272-9138-f99709370657
2002-07-18Use most significant bits instead (gives better random)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1381 a1c6a512-1295-4272-9138-f99709370657
2002-07-18Vastly improved, now working, random! :)Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1379 a1c6a512-1295-4272-9138-f99709370657
2002-07-17New vastly improved random algorithm: Mersenne TwisterBjörn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1377 a1c6a512-1295-4272-9138-f99709370657