MCPcopy 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
26inline float fixed_to_float(int64_t fixed) {
27 return fixed / (float)FIXED_POINT_SCALE;
28}
29
30inline int64_t float_to_fixed(float f) {
31 return (f * FIXED_POINT_SCALE);

Callers 1

gelu_lookup_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected