Am Sun, 22 Dec 2013 02:12:51 +0100 schrieb Timon Gehr <timon.g...@gmx.ch>:
> On 12/22/2013 02:09 AM, Timon Gehr wrote: > >> > >> The morale is that "uniform" random numbers doesn't imply that > >> every value in the range will eventually be generated once! > >> > > > > Yes it does. (The probability that some value is never generated is 0.) > > The actual morale is that random number generators do not generate true > > randomness, and poor random number generators may generate sequences > > that do not look remotely random. > > 'pseudo random number generators' would be a more accurate term. Can you elaborate a bit? How do you know that the Java LCG can produce every 32-bit integer once? If that's true then the problem with the Java code was something different and I was just biased, because I was already expecting the code to fail before the fact. (Expectations can do strange things to your perception.) -- Marco