F3_freeze
static small F3_freeze(int16 x)
static small F3_freeze(int16_t x) { return x - 3 * ((10923 * x + 16384) >> 15); }