在用CCS3.3仿真F28335的时候遇到一个问题。
B=fmod(A,1000),其中B和A都是整型变量。当A=1000时,运算结果B也等于1000。
请问这是为什么?B不是应该等于0吗?
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.
楼主你好!
我用6.1.0和6.0.1版本的编译器都试过了,没有你提到的这个问题,请问你用的是哪个版本的编译器,请换新版本的编译器试一下!