implementation of rand()
Check out this collection of random number generators from George Marsaglia. He’s a leading expert in random number generation, so I’d be confident using anything he recommends. The generators in that list are tiny, some requiring only a couple unsigned longs as state. Marsaglia’s generators are definitely “high quality” by your standards of long period … Read more