All blogs / Algorithms / data structures
PCG, A Better Random Number Generator
PCG is a family of simple fast space-efficient statistically good algorithms for random number generation. Unlike many general-purpose RNGs, they are also hard to predict.
- Posts
- 32 from 31 Mar 2015 to 10 Jan 2026
- Posting
- now and then (1 in the last year)
- Kind
- personal blog
- Feed
- https://pcg-random.org/rss.xml
2026 1
2018 11
- Efficiently Generating a Number in a Range
- Some (More) C++ PRNG Implementations
- Exploring Xoshiro's Close-Repeats Flaw
- A Birthday Test: Quickly Failing Some Popular PRNGs
- Random Invertible Mapping Statistics
- Bob Jenkins's Small PRNG Passes PractRand (And More!)
- On Vigna's PCG Critique
- Implausible Output from Xoshiro256**
- A Quick Look at Xoshiro256**
- Xoroshiro128+ Fails PractRand Even When Truncated
- Does It Beat the Minimal Standard?
2017 13
- On Trivial Predictability
- Visualizing the Heart of Some PRNGs
- Too Big to Fail
- How to Test with TestU01
- More PractRand Passes: ChaCha & Truncated XorShift*
- Predictability Party Tricks
- How to Test with PractRand
- 128-bit MCG Passes PractRand
- Critiquing PCG's streams (and SplitMix's too)
- Bugs in SplitMix(es)
- You don't have to use PCG!
- PCG Passes PractRand
- History of the PCG Paper