Is there a difference between a = -a and a *= -1 in c++?

后端 未结 0 445
野性不改
野性不改 2021-01-04 13:57

For types like signed int and float and double etc? Because, if I remember correctly (a very big if), it\'s a matter of flipping a bit and I thought whether there\'s an expl

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