Binary representation of negative numbers
Negative numbers are represented in computers using two's complement, that is, negative numbers are represented by the two's complement of positive numbers. If you want to know more about binary, you can read the articles below this topic.