[ExI] isaac's number
johnkclark at gmail.com
Thu Aug 3 01:37:35 UTC 2017
On Wed, Aug 2, 2017 at 12:04 PM, spike <spike66 at att.net> wrote:
> I don’t know John. I need to learn up on this, figure out how the rand()
> function works in VBA.
You got me curious so I looked it up, it's 32 bit pseudorandom
is called called
"MT19937"and is considered pretty good for most uses because it has a super
long period of 2^19937 -1 (a Mersenne
prime), even Mathematica and Matlab use it so it must be good but
good enough for
because after observing just 624 iterations you could theoretically predict
what the next one will be. Some say sending the output of MT19937
through even a simple hash function
greatly improve it, although of course that would also slow things down.
John K Clark
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the extropy-chat