Part Number: TMS320F28035
经典的qmath程序库“Fixed Point Math Library, Module user’s Guide C28x Foundation Software,2002’中,有qsin函数(汇编语言)并得到大量应用。该函数的输入为int16格式,即输入范围为-32768~32767.那么如果要实现cos计算,是否可以用qsin(16384-x)来替代qcos(x)? 前者可能存在输入大于32767的情况。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TMS320F28035
经典的qmath程序库“Fixed Point Math Library, Module user’s Guide C28x Foundation Software,2002’中,有qsin函数(汇编语言)并得到大量应用。该函数的输入为int16格式,即输入范围为-32768~32767.那么如果要实现cos计算,是否可以用qsin(16384-x)来替代qcos(x)? 前者可能存在输入大于32767的情况。