在CC3200中如何进行浮点数的运算?
1.float x=2.5+3.5342;
这样的运算总是会跳转到如下的循环中。
2.如何利用串口输出浮点数?
float x;
x=34.3422;
UART_PRINT("FRFSKGS:%6.8f \n\r",x);
同样会进入到上面的循环中,这是为何?
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.
在CC3200中如何进行浮点数的运算?
1.float x=2.5+3.5342;
这样的运算总是会跳转到如下的循环中。
2.如何利用串口输出浮点数?
float x;
x=34.3422;
UART_PRINT("FRFSKGS:%6.8f \n\r",x);
同样会进入到上面的循环中,这是为何?