1 Replies - 12951 Views - Last Post: 05 November 2011 - 12:21 PM

#1 Invisibledeath   User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 79
  • Joined: 13-March 10

What's the difference between one's complement and two's c

Posted 05 November 2011 - 12:16 PM

What's the difference between one's complement and two's complement?

This post has been edited by Invisibledeath: 05 November 2011 - 12:16 PM

Is This A Good Question/Topic? 0
  • +

Replies To: What's the difference between one's complement and two's c

#2 KYA   User is offline

  • Wubba lubba dub dub!
  • member icon

Reputation: 3213
  • View blog
  • Posts: 19,241
  • Joined: 14-September 07

Re: What's the difference between one's complement and two's c

Posted 05 November 2011 - 12:21 PM

The simplest answer is: one's complement is a simple not operation on each bit. Two's complement is that same operation and then add one to it. Additionally, two's complement only has one representation of zero.

For a more detailed analysis


Moved to Computer Science.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1