Crate stdrandom

Source
Expand description

§stdrandom

Random numbers generator using only standard library.

Functions§

fast_f32
Fast but lower-entropy f32 in [0, 1)
fast_f64
Fast but lower-entropy f64 in [0, 1)
fast_u32
Generates u32 random number using current thread RandomState
fast_u64
Generates u64 random number using current thread RandomState
fill_bytes
Fills slice with random bytes using the provided generator function.
fill_numbers
Fills a slice with generated numbers using the provided generator function.
gen_range
Generates random number in specified range using supplied generator.
random_f32
Higher entropy f32 in [0, 1)
random_f64
Higher entropy f64 in [0, 1)
random_u32
Generates higher entropy random u32 number in separate thread.
random_u64
Generates higher entropy random u64 number in separate thread.