MCPcopy Create free account
hub / github.com/PerroEngine/Perro / rand_u32

Function rand_u32

perro_source/api_modules/perro_modules/src/random.rs:196–198  ·  view source on GitHub ↗
(seed: u32)

Source from the content-addressed store, hash-verified

194
195#[inline]
196pub const fn rand_u32(seed: u32) -> u32 {
197 hash_u32(seed)
198}
199
200#[inline]
201pub fn rand01(seed: u32) -> f32 {

Callers 2

rand01Function · 0.85
rand_rangeFunction · 0.85

Calls 1

hash_u32Function · 0.70

Tested by

no test coverage detected