Mail Archives: djgpp-workers/1998/11/17/13:25:18
Dear DJ Delorie,
On 11-17-98 at 11:14:38 EST you wrote:
>
> > However, there is another problem with a 64-bit generator and a
> > 32-bit seed, in that it will not be possible to re-start the
> > generator at some state that it has gotten itself into.
>
> This is impossible anyway, since there's no way to get the current
> seed.
>
> > My vote would be for a simple 32-bit generator.
>
> 64-bit generators are "more random" (we hope).
>
The only advantage one gets from a 64-bit generator, assuming that it is
a full-period generator, is a longer period. This generator is full period
with a period of 2^64.
Technology is beginning to make a simple 32-bit generator more like a
toy generator. The period of a full-period 32-bit generator is only
2^32. With the advent of even-faster computers, it will be duck soup
to consume the full cycle of random numbers from a 32-bit generator.
K.B. Williams
- Raw text -