4 ms·
It is a pretty neat game. I have no idea what MTH$RANDOM is.Can you suggest some links where could i look it up?
by nitinrao 14y ago
It is a pretty neat game. I have no idea what MTH$RANDOM is.Can you suggest some links where could i look it up?
- mindcrime 14y agohttps://www.google.com/search?q=mth%24random https://www.google.com/search?q=mth%24random ??
- sswezey 14y agohttp://en.wikipedia.org/wiki/Linear_congruential_generator http://en.wikipedia.org/wiki/Linear_congruential_generator Unfortunately, I can't get the numbers to fit, even with accounting for 00, and using an actual roulette board order.
- dsr_ 14y agoRoulette board order doesn't matter. It's calling the RNG sequence. My mistake was feeding the mod 36 output back in as the next seed; it's the output from the RNG itself, and a good thing too...
- pjscott 14y agoThe best reference that Google turned up, IMHO, was the info page for the GNU Scientific Library's random number generators, which has MTH$RANDOM under the name gsl_rng_vax(): http://www.gnu.org/software/gsl/manual/html_node/Other-random-number-generators.html http://www.gnu.org/software/gsl/manual/html_node/Other-rando... Of course, that info page can't tell you what seed the VAX in the game is using....