Part Number: TMS320F28075
Hi,
below is the code, we have converted the same float value into 2 int32 variables i32AmsTemp, i32AmsTemp1,
but i32AmsTemp=-94, i32AmsTemp1=-93.
Why?

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.
Part Number: TMS320F28075
Hi,
below is the code, we have converted the same float value into 2 int32 variables i32AmsTemp, i32AmsTemp1,
but i32AmsTemp=-94, i32AmsTemp1=-93.
Why?

For the source file TimerDrv.c, please follow the directions in the article How to Submit a Compiler Test Case.
Thanks and regards,
-George