Understanding 2's Complement w/ 4 Bits

  • Thread starter Thread starter ECE
  • Start date Start date
  • Tags Tags
    Bits
Click For Summary
In 2's complement representation with 4 bits, the range of numbers is from -8 to +7, rather than 0 to 15, because the system allocates half of the values for negative numbers. With 4 bits, a total of 16 different values can be represented, but 2's complement uses the highest bit as a sign bit, limiting the positive range. This means that while unsigned representation can show values from 0 to 15, 2's complement focuses on balancing positive and negative values. The confusion arises from misunderstanding the difference between unsigned magnitude and signed representation. Understanding this distinction clarifies why the range is limited in 2's complement.
ECE
Messages
7
Reaction score
0
Why in 2's complement the range of numbers that can be represented with 4 bits are from -8 to +7? Wouldn't the numbers with 4 bits be till 15? I am confused.Please help me out.

-Thankyou
 
Last edited:
Engineering news on Phys.org
With four bits, you can store 16 different values. You make them represent 0 through 15, which is called unsigned magnitude, or you can make them represent -8 through +7, which is called 2's complement. You cannot represent all the numbers from, say, -8 to +15, because you do not have enough bits.

- Warren
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
4K
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
7
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K