參考看看合不合用...
if( 0xEC00 < (int16_t) (obj->trackerState[ik].vec[iYd]*oneQFormat) < 0x...
你運氣真好七年前就有人問過相同的問題也有人提供正解
請參考三種方法