Two's complement: Difference between revisions

Content added Content deleted
mNo edit summary
mNo edit summary
Line 7: Line 7:


;Task
;Task
Show how to calculate the two's complement of an integer.
Show how to calculate the two's complement of an integer. (It doesn't necessarily need to be a 32 bit integer.)