Anonymous user
Subtractive generator: Difference between revisions
m
corrected a typo.
m (added whitespace to the task's preamble.) |
m (corrected a typo.) |
||
Line 17:
The authors of ''Freeciv'' ([http://svn.gna.org/viewcvs/freeciv/trunk/utility/rand.c?view=markup utility/rand.c]) and ''xpat2'' (src/testit2.c) knew another problem: the low bits are less random than the high bits.
The subtractive generator has a better reputation than the [[linear congruential generator]], perhaps because it holds more
The choice of <big><big><math> i </math></big></big> and <big><big><math> j </math></big></big> affects the period of the generator.
|