Type Definition pcg_rand::Pcg32LFast [−][src]
type Pcg32LFast = McgXshRs12832;
A helper definition for a 32bit PCG which is fast but may lack statistical quality.
This generator sacrifices quality for speed by utilizing a Multiplicative Congruential generator instead of a LCG. Additionally it uses a simpler permutation function so that the compiler can optimize and reduce the number of operations.This version uses 128bits of internal state This makes it potentially slower but it has a longer period.