Tool/software: Code Composer Studio
Hi,
I want to use the fastRTS Library and have installed it following the instructions. The code is simple, as shown below:
#include "F28x_Project.h" // Device Headerfile and Examples Include File
#include "C28x_FPU_FastRTS.h"
#include "math.h"
float theta, sin_theta, sin_theta_1, cos_theta, cos_theta_1;
void main(void)
{
theta = 0.0143617708;
sincos(theta, &sin_theta, &cos_theta);
sin_theta_1 = sinf(theta);
cos_theta_1 = cosf(theta);
while(1){}
}
But the sin_theta and cos_theta are not right derived from sincos() function. (compared with sinf() and cosf() results)
Following is my CMD file and settings related with fastRTS library.
The attached file is my project file. Could you please help me to find out what is wrong? Thank you in advance!