lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

index.md (434B)


      1 +++
      2 title = 'Adding/subtracting floating point values'
      3 +++
      4 # Adding/subtracting floating point values
      5 1. Choose a number with the smaller exponent and move its mantissa right to make the exponents equal.
      6 2. Exponent of the result is the same as the larger exponent.
      7 3. Add/subtract the mantissas, determine sign of the result.
      8 4. Normalise the resulting values.
      9 
     10 Example:
     11 
     12 ![Scannable Document on 5 Dec 2017 at 23_07_42.png](doc.png)