Tool/software:


why there is in consistency in the value in any floating variable in Code Composer Tool
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.
Tool/software:


why there is in consistency in the value in any floating variable in Code Composer Tool
Hi Mostafa,
The C2000 MCU uses the IEEE-754 single precision approximation of the float value. As such, CCS reads the direct float value of the register/memory and provides the closest approximate decimal value to display in the IDE. You can use this calculator to confirm https://www.h-schmidt.net/FloatConverter/IEEE754.html . For more information about the FPU, you can refer to https://www.ti.com/lit/spry288
Regards,
Peter