| 43 | |
| 44 | inline frac_t doubleToFrac(double value) { return (frac_t)(value * FRAC_ONE); } |
| 45 | inline double fracToDouble(frac_t value) { return ((double)value) / FRAC_ONE; } |
| 46 | |
| 47 | inline frac_t intToFrac(int16 value) { return value << FRAC_BITS; } |
| 48 | inline int16 fracToInt(frac_t value) { return value >> FRAC_BITS; } |
nothing calls this directly
no outgoing calls
no test coverage detected