Question: In class, we learned how to compute the two s complement of a number in base 2 . Consider now a generalization of that concept

In class, we learned how to compute the twos complement of a number in base2. Consider now a generalization of that concept to other bases. Consider base b. With n digits, represent the negative of a number v as bnv.(Call this bs complement.) For base10, what range of numbers can you represent with 4 digits?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!