MGMT 1030 Lecture Notes - Lecture 39: Radix Point, Subtraction, Radix
![](https://new-preview-html.oneclass.com/Gx0M5K2doWlRjLLR19q9jBk1p4YyV6JE/bg1.png)
MGMT 1030 Lecture 39 Notes – A Review of Exponential Notation
Introduction
• Positive numbers are represented the same in complementary form as they would be in
sign and magnitude form.
• These numbers will start with 0, 1, N/2–1.
• For binary numbers, positive numbers start with 0, negative with 1.
• To go from negative sign-and-magnitude to complementary form
• To change the sign of a number, simply subtract each number from the largest number
in the base (diminished radix)
• From the value 100, where each zero corresponds to a number position (radix).
• Remember that implied zeros must be included in the procedure.
• Alternatively, the radix form may be calculated by adding 1 to the diminished radix
form.
• For ’s copleet, it is usually easiest to ivert every digit and add 1 to the result.
• To get the sign-and-magnitude representation for negative numbers, use the procedure
in (2) to get the magnitude.
• The sign will, of course, be negative.
• Remember that the word size is fixed
• There may be one or more implied 0s at the beginning of a number that mean the
number is really positive.
• To add two numbers, regardless of sign, simply add in the usual way.
• Carries beyond the leftmost digit are ignored in radix form, added to the result in
diminished radix form.
• To subtract, take the complement of the subtrahend and add.
• If we add two complementary numbers of the same sign and the result is of opposite
sign, the result is incorrect.
• Overflow has occurred.
• Real numbers add an additional layer of complexity.
find more resources at oneclass.com
find more resources at oneclass.com