delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/18/02:07:27

Date: Wed, 18 Nov 1998 09:06:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nate Eldredge <nate AT cartsys DOT com>
cc: djgpp-workers AT delorie DOT com
Subject: Re: src/libc/ansi/stdlib/rand.c
In-Reply-To: <36524189.C36ECCCF@cartsys.com>
Message-ID: <Pine.SUN.3.91.981118090559.20491B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Tue, 17 Nov 1998, Nate Eldredge wrote:

> I agree that any
> reasonable person would explicitly seed the RNG to get deterministic
> results, but since when are standard writers reasonable? :-\

That depends on your definition of ``reasonable'' ;-).  AFAIK, the
pseudo-random generators were working like that since time immemoriam,
and many people who write and use programs that need random sequences
(not only in C) are quite familiar with, and used to, this behavior.

- Raw text -


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