(1),
X=_IQdiv(A,(B+C)); //A,B,C均为int型
(2),
D=B+C;
X=_IQdiv(A,D);
以上两种计算方式的运行时间(1)比(2)长多了。
为什么?
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.
(1),
X=_IQdiv(A,(B+C)); //A,B,C均为int型
(2),
D=B+C;
X=_IQdiv(A,D);
以上两种计算方式的运行时间(1)比(2)长多了。
为什么?