An open API service indexing awesome lists of open source software.

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)

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
[![Docs](https://img.shields.io/badge/docs-written-blue.svg)](http://codahale.github.io/pcg/pcg/)
[![Build Status](https://travis-ci.org/codahale/pcg.svg)](https://travis-ci.org/codahale/pcg)
[![Apache V2 License](http://img.shields.io/badge/license-Apache%20V2-blue.svg)](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.