Xref: utzoo comp.sys.transputer:1894 comp.lang.fortran:3420 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!uhccux!virtue!comp.vuw.ac.nz!munnari.oz.au!goanna!ok From: ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) Newsgroups: comp.sys.transputer,comp.lang.fortran Subject: Re: Random numbers Message-ID: <3464@goanna.cs.rmit.oz.au> Date: 24 Jul 90 06:46:04 GMT References: <483@keele.keele.ac.uk> Followup-To: comp.lang.fortran Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 16 In article <483@keele.keele.ac.uk>, cca04@.uk.ac.keele (P.J. Mitchell) writes: > How do I generate this accuracy from the 15 bit C rand routine that > the Sequent man pages say is used? Don't. Check "man random" to see if you have the BSD random number generator and "man drand48" to see if you have the AT&T random number generator. Check books like "Numerical Recipes" for random number generators and look in back issues of journals like "Applied Statistics". Look in Knuth Vol 2 ("Numerical Recipes" provides Fortran code for at least one of the methods he describes, one of the better ones). -- Science is all about asking the right questions. | ok@goanna.cs.rmit.oz.au I'm afraid you just asked one of the wrong ones. | (quote from Playfair)