Mail Archives: djgpp-workers/1998/10/08/09:40:52
On Fri, 2 Oct 1998 Kbwms AT aol DOT com wrote:
> This indicates behavior that is decidedly non-random. The tests of
> 'rand' were conducted on the lower bits of each number generated.
> Despite the fact that 'rand' returns the "middle 32-bits," Knuth
> points out on pages 12 and 14 that even these bits will suffer non-
> random behavior. It is my experience that the upper bits will fare
> far better.
Thanks for testing this. That's what I knew about lower bits produced
by LCG-type random generators.
- Raw text -