Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
291
pub fn rand01_stream(seed: u32, index: u32) -> f32 {
292
rand_u32_stream(seed, index) as f32 / u32::MAX as f32
293
}
294
295
#[inline]
296
pub fn rand11_stream(seed: u32, index: u32) -> f32 {
Callers
3
rand11_stream
Function · 0.85
random_api_typecheck_and_forward
Function · 0.85
stream_rand_stays_repeatable
Function · 0.85
Calls
1
rand_u32_stream
Function · 0.85
Tested by
2
random_api_typecheck_and_forward
Function · 0.68
stream_rand_stays_repeatable
Function · 0.68