Crates.io | pcg_with_xorshift |
lib.rs | pcg_with_xorshift |
version | 1.0.0 |
source | src |
created_at | 2023-08-17 01:47:07.373538 |
updated_at | 2023-08-17 01:47:07.373538 |
description | a tiny random number generator |
homepage | |
repository | https://github.com/ink-carp/pcg_with_xorshift |
max_upload_size | |
id | 946528 |
size | 5,860 |
32-bits pcg_with_xorshift random number generator
use pcg_with_xorshift::{PcgWithXorshift, RandomNumberGeneratorEngine};
fn main() {
let mut pcg = PcgWithXorshift::new(None);
let number = pcg.get();
}
https://www.pcg-random.org/
https://github.com/flo-at/rustsnake.git