Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Derious/cuMPC
/ fixed_to_float
Function
fixed_to_float
test/test_CORE/test_lut.cpp:26–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
26
inline float fixed_to_float(int64_t fixed) {
27
return fixed / (float)FIXED_POINT_SCALE;
28
}
29
30
inline int64_t float_to_fixed(float f) {
31
return (f * FIXED_POINT_SCALE);
Callers
1
gelu_lookup_test
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected