Expand description
Rust implementation of SIMD-oriented Fast Mersenne Twister (SFMT) using stable SIMD
use rand_core::{RngCore, SeedableRng};
let mut rng = sfmt::SFMT::seed_from_u64(42);
let r = rng.next_u32();
println!("random u32 number = {}", r);
Structs§
Functions§
- thread_
rng - Create a thread local RNG.