Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codr7/hacktical-c
/ hc_fix_double
Function
hc_fix_double
fix/fix.c:48–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
double hc_fix_double(const hc_fix_t x) {
49
return hc_fix_val(x) / (double)hc_scale(hc_fix_exp(x));
50
}
51
52
hc_fix_t hc_fix_add(const hc_fix_t x, const hc_fix_t y) {
53
const uint8_t xe = hc_fix_exp(x);
Callers
1
test_new
Function · 0.85
Calls
3
hc_fix_val
Function · 0.85
hc_scale
Function · 0.85
hc_fix_exp
Function · 0.85
Tested by
1
test_new
Function · 0.68