Negative binary representation in java

A positive number is used to represent the original code

Negative numbers are represented with complement

 

Guess you like

Origin www.cnblogs.com/littleswan/p/11366596.html