Systems Architecture

Table of Contents

Adding/subtracting floating point values

  1. Choose a number with the smaller exponent and move its mantissa right to make the exponents equal.
  2. Exponent of the result is the same as the larger exponent.
  3. Add/subtract the mantissas, determine sign of the result.
  4. Normalise the resulting values.

Example:

Scannable Document on 5 Dec 2017 at 23_07_42.png