www.delorie.com/archives/browse.cgi | search |
Date: | Wed, 7 Dec 94 14:24:12 -0500 |
From: | dj AT stealth DOT ctron DOT com (DJ Delorie) |
To: | gold AT ccr-p DOT ida DOT org |
Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Subject: | Re: better rand() |
In the V2 version, the "next" variable is static at file scope, so that srand() can set it. That was just an example of the algorithm.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |