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.

TMS320F28075: convert float to int will have different results

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?