Part Number: CCSTUDIO
定义几个浮点型变量:

其中,FreqCPU这个变量在CPU中断中执行如下代码:

其中,FreqCLA这个变量在CLA中执行如下程序:

这两个程序都是无条件执行。在调试窗口中设定变量FreqUpLmt的值。
执行效果如下:

FreqCLA这个变量到512之后便不再增长。浮点数虽然有精度范围,但是CPU和CLA为什么有完全不同的处理结果?
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.