home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!uaisun4!mrl
- From: mrl@uai.com (Mark R. Ludwig)
- Subject: Re: Is there a good Integer Random number generator in FORTRAN??
- In-Reply-To: pviswana@uceng.UC.EDU's message of 30 Jul 92 19:24:01 GMT
- Message-ID: <MRL.92Jul31115936@sun4.uai.com>
- Sender: mrl@uai.com (Mark R. Ludwig)
- Organization: Universal Analytics, Inc., Torrance (LA), CA
- References: <1992Jul22.005308.4392@coe.montana.edu> <1992Jul30.192401.10394@uceng.UC.EDU>
- Distribution: usa
- Date: 31 Jul 92 11:59:36
- Lines: 19
-
- In article <1992Jul30.192401.10394@uceng.UC.EDU> pviswana@uceng.UC.EDU (Prashanth V.) writes:
-
- I am looking for a good Integer random number generator that
- does not make use of any of the systems libraries. Can anyone please lead
- me to one.
-
- Find a library, colleague or classmate with back-issues of the
- Communications of the ACM (usually abbreviated CACM). The October,
- 1988 issue has a substantial discussion of an algorithm with good
- randomness characteristics, and presented several different
- implementations of it for different hardware platforms. It does _not_
- use the time-honored but computationally-horrible "controlled integer
- overflow" technique. Despite being geared toward real numbers in the
- range (0,1) (or is it [0,1]?), it really uses integers internally and
- I think you should be able to adapt it to your liking.$$
- --
- INET: mrl@uai.com BANG: uunet!uaisun4!mrl ICBM: USA; Lower Left Coast
- "You can get a crowd to clap at a phone number, if the inflection is right."
- -- Dave Ross
-