Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
196
pub const fn rand_u32(seed: u32) -> u32 {
197
hash_u32(seed)
198
}
199
200
#[inline]
201
pub fn rand01(seed: u32) -> f32 {
Callers
2
rand01
Function · 0.85
rand_range
Function · 0.85
Calls
1
hash_u32
Function · 0.70
Tested by
no test coverage detected