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.

This page exists due to the efforts of the following people:

Timur

Timur

Created: 2010-09-13 04:58:18, Last updated: 2021-09-25 15:58:07
Creative Commons Attribution/Share-Alike License 3.0 (Unported)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/748/. Also, please do not modify any references to the original work (if any) contained in this content.

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