Is using unsigned integer overflow good practice?

后端 未结 12 518
耶瑟儿~
耶瑟儿~ 2020-12-01 15:55

I was reading the C Standard the other day, and noticed that unlike signed integer overflow (which is undefined), unsigned integer overflow is well defined. I\'ve seen it us

12条回答
  •  自闭症患者
    2020-12-01 17:00

    If you use it wisely (well commented and readable), you can benefit from it by having smaller and faster code.

提交回复
热议问题