MGMT 1030 Lecture Notes - Lecture 25: Negative Number, Radix

38 views2 pages
MGMT 1030 Lecture 25 Notes Complement of a Number
Introduction
Taking the complement of a number is almost like using the basis value as a mirror.
In the case of base 10 radix, the largest numeral is 9
Thus, this ethod is alled ’s opleetay epesetatio.
The facing page shows several examples of this technique.
If e o use the ’s opleet tehiue to assig the egatie alues to the hat
You see that  oespod to a alue of−ad to the alue −.
This results in the relationship shown
An important consideration in the choice of a representation is that it is consistent with
the normal rules of arithmetic.
For the representation to be valid, it is necessary that, for any value ithi the age, −
− alue = alue.
Simply stated, this says that if we complement the value twice, it should return to its
original value.
Sie the opleet is just op = asis − alue the opleetig tie, asis −
asis − alue = alue hich confirms that this requirement is met.
EXAMPLE
Fid the ’s opleetay epesetatio fo the thee-digit ue −.  − 
  epesets the alue fo −.
Notice that the three-digit value range is limited to 0499
Since any larger number would start with a digit of 5 or greater, this is the indicator for a
negative number.
Fid the ’s opleetay epesetatio fo the fou-digit ue −.  −
9532
Notice that in this system, it is necessary to specify the number of digits, or word size,
being used.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents