delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/24/15:58:30

Date: Tue, 24 Mar 1998 15:58:26 -0500 (EST)
Message-Id: <199803242058.PAA24273@delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: jalex AT ea DOT oac DOT uci DOT edu
CC: djgpp AT delorie DOT com
In-reply-to: <35180BC1.8AD330C1@ea.oac.uci.edu> (message from Jason Alexander
on Tue, 24 Mar 1998 11:38:41 -0800)
Subject: Re: Source for random()?

>   What are the values of m,a, and c that random() uses?  (I'm assuming
> it's a linear congruential random number generator, if not, please let
> me know). I've looked up both rand() and random() using info, but they
> don't provide the specific formula.

Read the source!

- Raw text -


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