之前自己在程序里计算float/float,然后CCS提醒,TMU函数计算更快,然后就用了以下的函数,但是感觉用的不明不白的,看不到计算过程,不敢乱用。
所以请问下,__divf32函数在哪里?
tempResult = (int32)(__divf32(tempMidValueV,tempMidValueA)); 这样用吗?tempMidValueV和tempMidValueA都是float类型的。
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.
之前自己在程序里计算float/float,然后CCS提醒,TMU函数计算更快,然后就用了以下的函数,但是感觉用的不明不白的,看不到计算过程,不敢乱用。
所以请问下,__divf32函数在哪里?
tempResult = (int32)(__divf32(tempMidValueV,tempMidValueA)); 这样用吗?tempMidValueV和tempMidValueA都是float类型的。