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.

F28335浮点转换定点函数转换直接数和转换变量时耗时相差非常大,如_IQ(0.1666667)只要2个CPU时钟,而 x=0.1666667,_IQ(x)则236个?



F28335浮点转换定点函数转换直接数和转换变量时耗时相差非常大,如_IQ(0.1666667)只要2个CPU时钟,而 x=0.1666667,_IQ(x)则236个。我需要转换一个变量,怎么样使类似_IQ(x)计算耗时减小?