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.
工具/软件:Code Composer Studio
C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_examples_cla_ccsv5\sqrt
当我尝试计算除2个示例代码 以外的 sqrt 时、CLA 的上述示例代码中的值。 我使用的是 Code Composer Studio 版本:7.2.0.0001。
void test_run (void)
{
fVal = 2;
Cla1ForceTask1andWait();
#if 0
Cla1ForceTask2andWait();
Cla1ForceTask3andWait();
Cla1ForceTask4andWait();
Cla1ForceTask5andWait();
Cla1ForceTask6andWait();
Cla1ForceTask7andWait();
Cla1ForceTask8andWait();
#endif
}
void test_report (void)
{
if (fResult < 1.4143 && fResult > 1.4141)
PUT ("pass\n");
其他
printf (“失败,fResult =%f\n",fResult);
}