One's complement and two's complement codes

For any integers entered by the user, this online calculator displays the integer's binary representation depending on the sign. Positive integers are displayed as is, negative integers are displayed in one's complement and two's complement codes.

Articles that describe this calculator

PLANETCALC, One's complement and two's complement codes

One's complement and two's complement codes

Range
 
Binary code
 
One's complement (inverse code)
 
Two's complement (complement code)
 

Calculators used by this calculator

URL copied to clipboard
PLANETCALC, One's complement and two's complement codes

Comments