Uint32 A,B,C;
A=IQ21(10);
B=IQ21(100);
C=IQ21mpy(A,B)
会溢出吗。
A,B均是大于1的数的Q格式,直接相乘就是42次方了,会不会溢出。如果不会请问原理是怎样的,非常感谢。
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.
Uint32 A,B,C;
A=IQ21(10);
B=IQ21(100);
C=IQ21mpy(A,B)
会溢出吗。
A,B均是大于1的数的Q格式,直接相乘就是42次方了,会不会溢出。如果不会请问原理是怎样的,非常感谢。
你好,感谢回复,我也仿真了,确实是对的,只是没理解,难道DSP的乘法器是64bit的?