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.

如何用定点运算求向量的模?

已知一个三维或者更多维数的向量A(x,y,z),xyz都是IQ24格式,求向量A的模:L=|A|=sqrt(x^2 + y^2 + z^2),L也为IQ24。

请问怎么用IQ格式的定点运算快速的求模?

虽然IQmath中有IQNmag()函数可以求二维向量的模,但是如何求三维以上的向量模?

用汇编怎么编