All Projects → codahale → pcg.rs

codahale / pcg.rs

Licence: other
A Rust implementation of the PCG PRNG.

Programming Languages

rust
11053 projects
shell
77523 projects

pcg

Docs Build Status Apache V2 License

A Rust implementation of the PCG PRNG.

The PCG algorithm is not suitable for cryptographic purposes but provides an excellent combination of speed and unpredictability. It is only slightly slower than rand::XorShiftRng but provides much higher-quality output.

This particular implementation uses a 128-bit state value, has a period of 2^64, and uses the XSH-RR output function.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].