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.

C28069 的CLA和 主CPU浮点运算结果不知为什么会有很大偏差

在主CPU和CLA同时对不同的变量做累加运算,若每次累加值为整数,两边结果相同;

若每次累加值含有小数部分,累加下去CLA部分结果的绝对值会比主CPU的小;

如每次累加值为1.1,一共累加约8130次,主CPU运算结果为8943,CLA部分运算结果为8914;

(附注:语言用的是C,编译环境CCS 5.5.0)