[][src]Crate rand_pcg

The PCG random number generators.

This is a native Rust implementation of a small selection of PCG generators. The primary goal of this crate is simple, minimal, well-tested code; in other words it is explicitly not a goal to re-implement all of PCG.

This crate provides:

Both of these use 16 bytes of state and 128-bit seeds, and are considered value-stable (i.e. any change affecting the output given a fixed seed would be considered a breaking change to the crate).

Structs

Lcg64Xsh32

A PCG random number generator (XSH RR 64/32 (LCG) variant).

Lcg128Xsl64

A PCG random number generator (XSL RR 128/64 (LCG) variant).

Mcg128Xsl64

A PCG random number generator (XSL 128/64 (MCG) variant).

Type Definitions

Pcg32

Lcg64Xsh32 is also officially known as pcg32.

Pcg64

Lcg128Xsl64 is also officially known as pcg64.

Pcg64Mcg

A friendly name for Mcg128Xsl64 (also known as pcg64_fast).