delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/17/10:23:42

Date: Tue, 17 Nov 1998 10:23:40 -0500 (EST)
Message-Id: <199811171523.KAA29149@indy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <36518E7D.A4FAEAB9@cyberoptics.com> (message from Eric Rudd on
Tue, 17 Nov 1998 08:55:58 -0600)
Subject: Re: src/libc/ansi/stdlib/rand.c
Reply-To: djgpp-workers AT delorie DOT com

> 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).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019