Skip to content
This repository has been archived by the owner on May 7, 2018. It is now read-only.

codahale/pcg.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Rust implementation of the PCG PRNG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published