Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerroEngine/Perro
/ to_f32
Method
to_f32
perro_source/core/perro_structs/src/structs/snorm.rs:37–39 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
35
36
#[inline]
37
pub const fn to_f32(self) -> f32 {
38
self.0 as f32 * (2.0 / 255.0) - 1.0
39
}
40
}
41
42
impl Default for SignedUnit {
Callers
4
from
Method · 0.45
to_array
Method · 0.45
to_tuple
Method · 0.45
as_vector2
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected