Chapter 5 Basic Arithmetic Operations on Floating-point Numbers
5.1 Addition
The purpose of the following discussion is to show how to perform the operation , where (5.1):
(5.1)
and (5.2)
(5.2)
Addition of two mantises should be done according to the rules specified in Chapter 3. Mantises in 2's format are added according to the formula . Adding the mantises in SM format requires applying the rules given in Table 3.1. Sometimes the result of the addition cannot be stored on the assumed number of bits, so it should be normalized according to the following rules:
Get Computer Arithmetic in Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.