3 comments

[ 3.2 ms ] story [ 26.4 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.