LikeLike

]]>LikeLike

]]>LikeLike

]]>The random number generator cycles through the following 43534 values: 451, 1480, 4569, 13582, 40877, […], 46161, 7277, 21954, and 451 again.

]]>There are:

86 seeds with period 1,

44 seeds with period 2,

245 seeds with period 245,

491 seeds with period 491,

509 seeds with period 509,

797 seeds with period 797,

8501 seeds with period 8501,

11329 seeds with period 11329,

43534 seeds with period 43534.

By the way, what are the initial values for g.randSeed1 and g.randSeed2? 🙂

]]>LikeLike

]]>LikeLike

]]>LikeLike

]]>LikeLike

]]>I’m vaguely curious: who is this used on? Or is it just general-purpose?

LikeLike

]]>