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.

CC2530数学运算,算的平方值居然是负数,求鉴定

Other Parts Discussed in Thread: CC2530

如图我调试代码的时候发现值大概大于160之后运算就会出错,平方怎么可能是负数呢??

在其他51上也测试了这个代码也是这个没问题,十六进制输出和十进制输出结果不一样,十六进制输出正确,但是十进制输出就是错误

在linux和VC下页跑过就没问题,求鉴定啊