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.

TMS320F28374S: CLA数据类型问题

Part Number: TMS320F28374S

我在CLA中头文件F2837xD_Cla_typedefs.h中定义INT16为typedef short    INT16;  另外CLA中的某个函数定义为xx(&.. , INT16 y)

运行CLA的时候发现当y传入值为-1时,函数计算得到的a=-y值为65535,a的数据类型为float,这是什么原因造成的