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

Function rand01_stream

perro_source/api_modules/perro_modules/src/random.rs:291–293  ·  view source on GitHub ↗
(seed: u32, index: u32)

Source from the content-addressed store, hash-verified

289
290#[inline]
291pub fn rand01_stream(seed: u32, index: u32) -> f32 {
292 rand_u32_stream(seed, index) as f32 / u32::MAX as f32
293}
294
295#[inline]
296pub fn rand11_stream(seed: u32, index: u32) -> f32 {

Callers 3

rand11_streamFunction · 0.85

Calls 1

rand_u32_streamFunction · 0.85

Tested by 2