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

Function hash_f32

perro_source/api_modules/perro_modules/src/random.rs:112–114  ·  view source on GitHub ↗
(value: f32)

Source from the content-addressed store, hash-verified

110
111#[inline]
112pub const fn hash_f32(value: f32) -> u32 {
113 hash_u32(value.to_bits())
114}
115
116impl HashToU32 for u32 {
117 #[inline]

Callers 1

hash_to_u32Method · 0.70

Calls 1

hash_u32Function · 0.70

Tested by

no test coverage detected