MCPcopy 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
48double hc_fix_double(const hc_fix_t x) {
49 return hc_fix_val(x) / (double)hc_scale(hc_fix_exp(x));
50}
51
52hc_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_newFunction · 0.85

Calls 3

hc_fix_valFunction · 0.85
hc_scaleFunction · 0.85
hc_fix_expFunction · 0.85

Tested by 1

test_newFunction · 0.68