Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
C:\ti\controlSUITE\device_support\f2803x\v130\DSP2803x_examples_cla_ccsv5\sqrt
in above sample code for cla When I try to calculate sqrt of except other than 2 sample code not working. I'm using Code Composer Studio Version: 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)
puts("PASS\n");
else
printf("FAIL , fResult = %f\n",fResult);
}