Re: Anyone need a random number generator?
Ron Hudson <[email protected]>
| Newsgroups | gmane.comp.emulators.turnkey-mvs |
|---|---|
| Message-ID | <[email protected]> |
Well it looks like the parameters I found turn out to be a spectacularly bad PRNG.. - I collect pairs of random numbers between 1 and 40, use them as X,Y indexes to increment cells of an array. - do the above until the increment takes one of the cells to 100 - Print out the array I find cells get incremented to 99 in a sea of zeros (32 "islands" of 99) and a smattering of 1s and 2s : ^ ( Is there a system function or insintric or some way to get -good- random numbers?