C is integer math equivalent with unsigned math?

前端 未结 0 473
故里飘歌
故里飘歌 2020-12-30 18:05

So can i cast the values to unsigned values, do the operation and cast back, and get the same result? I want to do this because unsigned integers can overflow.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题