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.

msp432 浮点数参数传递问题

我的project中(IAR for arm),使用浮点数计算没有问题

今天发现(上次也发现一次)有个函数浮点数参数传递有问题

例如下面的函数原型 float func(float* data, float para);

第一个参数data传递没有问题,第二个参数para有问题(实际参数是5.0f, debug发现是24.9xxx类似)

不知道什么原因