Crates.io | pcg-mwc |
lib.rs | pcg-mwc |
version | 0.2.1 |
source | src |
created_at | 2021-05-25 05:18:36.350169 |
updated_at | 2021-06-07 22:03:05.396018 |
description | A fast non-cryptographic psudo random number generator |
homepage | |
repository | https://github.com/tkaitchuck/Mwc256XXA64 |
max_upload_size | |
id | 401722 |
size | 15,257 |
It is a member of the PCG family but uses an MWC generator instead of an LCG. This an MWC is special form of a MCG generator similar to the PGC-64-fast variant.
Compared to PGC-64-fast, Mwc256XXA64 is both faster and produces higher quality rand numbers (due to using the full 256bit state as opposed to only half of it.)
For a detailed description of the design, see: https://tom-kaitchuck.medium.com/designing-a-new-prng-1c4ffd27124d
A fast high quality PRNG with 64bits of output, and a 256bit state. This is faster on 64bit architectures.
A fast high quality PRNG with 32bits of output, and a 128bit state. This is faster on 32bit architectures.