Tool/software: Code Composer Studio
Hello!
I had the following problem in the project, which I noticed a few days ago, but it just now began to bring me real problems. This is a calculation issue. When I assign some number to a float variable, it is misinterpreted by the controller. Those.:
float x1 = 5.3f;
float x2 = 5.3f;
float x3 = 0.0f;
In the Expressions tab, these variables are written as 5,30000019 and then the calculation occurs with these values. For me, this created a real problem when I started to calculate an array of sine values, there, taking into account 500 iterations, the error became very large and the last sine value of 0.006 ... is 0.17.
Tell me, please, what could be the problem?
I also attach the archive with my project.
