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.
我在CLA中头文件F2837xD_Cla_typedefs.h中定义INT16为typedef short INT16; 另外CLA中的某个函数定义为xx(&.. , INT16 y)
运行CLA的时候发现当y传入值为-1时,函数计算得到的a=-y值为65535,a的数据类型为float,这是什么原因造成的
请确保您使用的是适当的CLA数据类型。 请参阅第4.6节以了解差异:software-dl.ti.com/.../faq.html
此外,您可以查看编译器指南以了解哪些是支持的数据类型。 请参阅第10.2.1节"变量和数据类型"