| 31 | } |
| 32 | |
| 33 | int64_t hc_fix_val(const hc_fix_t x) { |
| 34 | const int64_t v = x >> HC_FIX_HDR; |
| 35 | return ((x >> HC_FIX_EXP) & 1) ? -v : v; |
| 36 | } |
| 37 | |
| 38 | int64_t hc_fix_int(const hc_fix_t x) { |
| 39 | return hc_fix_val(x) / hc_scale(hc_fix_exp(x)); |
no outgoing calls