https://github.com/dashed/pcg
personal clone of https://github.com/codahale/pcg (use at your own peril)
https://github.com/dashed/pcg
Last synced: about 1 month ago
JSON representation
personal clone of https://github.com/codahale/pcg (use at your own peril)
- Host: GitHub
- URL: https://github.com/dashed/pcg
- Owner: dashed
- License: other
- Created: 2016-09-29T04:07:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-25T12:55:49.000Z (over 9 years ago)
- Last Synced: 2025-03-06T18:50:21.793Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NOTE: this is my personal clone of https://github.com/codahale/pcg with my own additions (use at your own peril)
# pcg
[](http://codahale.github.io/pcg/pcg/)
[](https://travis-ci.org/codahale/pcg)
[](https://github.com/codahale/pcg/blob/master/LICENSE)
A Rust implementation of the [PCG](http://www.pcg-random.org) 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.