TwosComplement.md (450B)
1 # Two's Complement 2 3 SS 4 5 **Definition:** Two's complement is an implementation of negative numbers where a leading one and flipped bits are used to represent negative numbers. 6 7 To do this calculation in either direction flip all bits and add 1. 8 9 As such we have 1 and -1 as follows: 10 11 1 : 00000001 12 13 -1 : 11111111 14 15 This solves the problem of having a negative zero and decreases the computational overhead of using [Ones Complement](OnesComplement.md)