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)长多了。

为什么?