Math, asked by tabasum31, 1 year ago

Calculate 2's complement of negative number

Answers

Answered by Aishez
0
Negating a two's complement numberis simple: Invert all the bits and add one to the result. For example, negating 1111, we get 0000 + 1 = 1. Therefore, 1111 must represent −1. The system is useful in simplifying the implementation of arithmetic on computer hardware.
Similar questions