in 2???s complement number system the range of values for 16-bit numbers is given as
Answers
Answered by
3
The range of numbers that can be represented in n-bits is:
= > -(2^n-1).......(2^n-1) - 1
Now,
Here we need to calculate 16-bit number:
= > -(2^16 - 1).....(2^16 - 1) - 1
= > -(2^15).....(2^15)-1
= > -32768....32767.
Therefore, 16-bits gives us the range of [-32768,32767].
Hope this helps!
Similar questions