3 comments

[ 3.1 ms ] story [ 18.6 ms ] thread
The title is actually: Why A + B != A - (-B)

not: Why A + B = A - (-B)

Hint: This isn't about math or logic where A + B certainly does equal A - (-B).

It's about storing negative values in unsigned data types in C.

incorrect title, it makes a HUGE difference.