in Digital Logic edited by
422 views
1 vote
1 vote
How many minimum bits are required to represent $-16$ in $2's$ complement form
in Digital Logic edited by
by
422 views

2 Comments

2's complement range

$-2^{n-1} \ to\ 2^{n-1}-1$

so for -16 it needs 5 bits
0
0
10000
0
0

2 Answers

0 votes
0 votes

We know the range of 2's complement is from -2n-1 to 2n-1-1

now -16=-2n-1

n-1=4

n=5

5 bits required

0 votes
0 votes
-16 in  2's Complement is 100000
hence 5 bits

Related questions