Given n is the number of positions in radix-r, how many possibilities are wasted due to the sign position in the signed-magnitude numbering system.
I'm attaching the pic for better understanding:-
As total number possible with n positions = rn (i.e, 0 to rn -1)
But for signed magnitude one bit will be wasted for sign representation. So, it will not be fully utilized.
For signed-magnitude number possible will be = 2 * rn-1 (i.e, -rn-1 to rn-1 -1)
So, the numbers wasted will be-
rn - 2 * rn-1 = rn-1 * (r - 2)
If you have any doubt, feel free to ask in comment section.
If you like the solution, please upvote...
Get Answers For Free
Most questions answered within 1 hours.