summaryrefslogtreecommitdiff
path: root/src/common/utils.h
AgeCommit message (Collapse)AuthorFilesLines
2009-09-30Added -fno-strict-aliasing to CFLAGSMadCamel1-1/+1
This will likely fix a few minor weirdnesses, and compiler warnings.
2009-08-30MRAND() no longer uses high-order bitsMadCamel1-3/+2
2009-08-29Converted to Mersenne Twister for random.MadCamel1-1/+2
Randomerer! Also: Fixed a security problem. Can you find it?
2008-11-03Rename MMRAND to MPRAND and clarify in a comment how it works exactly. These ↵Dennis Friis1-2/+9
are purpose-specific replacements for the vast usage of rand() with modulo and using high-order bits instead.
2008-11-03Add 2 defines for rand() that uses hi-order bits to get slighty better ↵Dennis Friis1-0/+2
pseudo-random numbers
2008-04-02initial checkinDennis Friis1-0/+33