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.
工具/软件:TI C/C++编译器
我正在 C6678上进行开发。
我在每个内核上调用了以下函数。
void Func () { float temp1 = log ((double) 2.0f); platform_write ("1:%e\n"、temp1); float temp2 =(float) log (2.0f); platform_write ("2:%e\n"、temp2); float temp3 = logf (2.0f); platform_write ("3:"4 : %e、temp4);platform_temp4 ("4:"、temp4);platform_temp4 (temp3:\n"temp4:"(temp4)
*"platform_write"函数是我自己的 printf 函数。
首次调用函数的结果。
内核1至8
1:6.931472e-01 2:6.931472e-01 3:6.931472e-01 4:6.931472e-01
第二次调用函数的结果。
内核1至7
1:6.931472e-01 2:6.931472e-01 3:6.931472e-01 4:6.931472e-01
内核8
1:nan 2:nan 3:6.931472e-01 4:nan
为什么只有在第二次调用函数时内核8才变为 nan?
CCS 版本:6.2.0
处理器 SDK 版本:03.01.00.06
1:南
2:南
3:6.931472e-01
4:南