Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!batcomputer!munnari.oz.au!bruce!monu0.cc.monash.edu.au!monu1!dmsmelb.mel.dms.CSIRO.AU!alan From: alan@dmsmelb.mel.dms.CSIRO.AU (Alan Miller) Newsgroups: comp.lang.fortran Subject: Re: randu? Message-ID: <12071@monu1.cc.monash.oz> Date: 1 Mar 91 03:03:26 GMT References: <62349@eerie.acsu.Buffalo.EDU> <17397@milton.u.washington.edu> Sender: news@monu1.cc.monash.oz Organization: CSIRO, Division of Mathematics & Statistics Lines: 20 In article <17397@milton.u.washington.edu> seymour@milton.u.washington.edu (Richard Seymour) writes: :What about RANDU? : :D.3.9 RANDU subroutine :The RANDU subroutine computes a pseudorandom numvber as a single-precision :value uniformly distributed in the range: 0.0 .LE. value .LT. 1.0 : :a call to randu has the form: CALL RANDU (i1,i2,x) :where: i1, i2 are INTEGER*2 variables or array elements that contain the : seed for computing the random number : x is a real variable or array element where the computed random : number is stored. RANDU is of course the notorious random number generator (there were others, but not as bad) highlighted in Marsaglia's famous 'Random numbers fall mainly in the planes' (Proc. Nat. Acad. Sci. USA, vol.61, 25-, 1968) paper. I believe that it originated with IBM. Sorry to hear that it is still alive. Alan Miller