Article View: comp.sys.amiga.tech
Article #1269Re: Random
From: Mike (I'll think of something ye...
Date: Thu, 14 Sep 1989 00:53
Date: Thu, 14 Sep 1989 00:53
35 lines
2353 bytes
2353 bytes
In article <89256.111549UH2@PSUVM.BITNET> UH2@PSUVM.BITNET (Lee Sailer) writes: <<1989Sep13.032352.10321@agate.berkeley.edu> <60483@tut.cis.ohio-state.edu> <I disagree with this notion that each programmer should be responsible <for rolling a "good" RNG. I've done this myself too many times, and know <what a pain it can be. It would be better if the language vendor, eg AREXX, <Lattice, Manx, etc etc etc would do the leg work once, thus saving <hundreds or thousands of wheel reinventions. Actually, I don't like it either - which is why I suggested only for serious applications, and using a known-good routine if you had one available. The reason for rolling your own is that it's easier than testing one to verify that it is good. If that weren't true, then I'd recommend testing the one that came with the language, and using that if it is acceptable. <Is this topic Amiga specific? Well, not very much, excpet that we could <ask for each commonly used language which, if either, of these two RNGs <is offered. Actually, I'm about to make it Amiga-specific. This seems to be the perfect place for CBM to step in, and provide a "random.library" that offers a nice selection of "known-good" random number generators, with various characteristics, including multiple interfaces so that no real work has to be done to get the standard routines for all languages popular on the Amiga (C, Modual-II, ARexx and whichever Basic they ship with 1.4 would seem to be a bare minimum). <mike -- I'm gonna lasso you with my rubberband lazer, Mike Meyer Pull you closer to me, and look right to the moon. mwm@berkeley.edu Ride side by side when worlds collide, ucbvax!mwm And slip into the Martian tide. mwm@ucbjade.BITNET
Technical Details
Message-ID:
<1989Sep14.005314.8261@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!eris.berkeley.edu!mwmReferences:
<19504@unix.cis.pitt.edu> <89256.111549UH2@PSUVM.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!eris.berkeley.edu!mwm From: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: Random Message-ID: <1989Sep14.005314.8261@agate.berkeley.edu> Date: 14 Sep 89 00:53:14 GMT References: <19504@unix.cis.pitt.edu> <89256.111549UH2@PSUVM.BITNET> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) Organization: Missionaria Phonibalonica Lines: 35