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.

TMS320F28388D: 请教一个28388D中double类型数据的使用问题

Part Number: TMS320F28388D


老师您好,我现在在使用CCS10.0作为F28388D的开发环境,当我设置一些double类型数据时,比如

所有WeiXing数组均为double类型,double类型数据是可以将精度保留到小数点后15位的,但我这个到小数点后8-9位后面就是乱码了。比如WeiXing[0]我这里设置的是0.004,结果却是0.0040000001899898052,请问有什么解决方法吗?