in reply to Re^10: How likely is rand() to repeat?
in thread How likely is rand() to repeat?
By that assessment, then neither is MT19973 a "32-bit PRNG", so basing probabilities relating to its use upon 32-bits are wrong alsoMT19973 generates 32 bit numbers. It will not generate more than 232 different numbers. It takes 32 bits as a seed. It uses just short of 20k bits to keep state. I don't know what the term "k-bit PRNG" exactly means, which why I tried avoiding that term and keep using seed and state sizes.
Fine, whatever. Doesn't make a iota difference to the argument. But if you want to split hairs, be my guest. So you have 232 different starting points in the sequence.There are 232 seeds. Each of them starts a different sequence.Are you sure about that?Sure it isn't a single, 4e6001 value non-repeating sequence, and all the seeding does it start you at a different place within it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: How likely is rand() to repeat?
by BrowserUk (Patriarch) on Mar 09, 2012 at 17:52 UTC | |
by JavaFan (Canon) on Mar 09, 2012 at 21:00 UTC | |
by BrowserUk (Patriarch) on Mar 09, 2012 at 21:09 UTC | |
by JavaFan (Canon) on Mar 09, 2012 at 23:33 UTC | |
by BrowserUk (Patriarch) on Mar 09, 2012 at 23:38 UTC | |
|