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.

TMS320F280025: CCS V12在使用sprintf进行格式化转换时总是提示浮点精度问题

Part Number: TMS320F280025

如下语句:sprintf(buffer, "%3.1f", (float)stVbus.avg1);

编译提示:line 535 (col. 12): advice #3195-D: (Performance) EABI double precision is 64-bits as opposed to 32-bits for COFF. Consider changing doubles to floats for improved performance in FPU32-mode

通过SCI输出或通过LCD显示处理时都会用到sprintf()函数,只要进行格式化浮点处理都会有这样的提示,请问改如何消除,谢谢!