Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 534 Bytes

Chapter2.md

File metadata and controls

11 lines (8 loc) · 534 Bytes

Chapter 2 - Arithmetic in Computer

EX: $(0.2){10} = (0.001100110011\dots){2}$

1. IEEE 754 Standard

Figure1 Figure2

2. Floating Point Multiplication

  1. Add the exponent and subtract 127 by number of numbers you multiply - 1 to prevent subtracting 127 multiple times.
  2. Multiply the Mantissa (fraction) just like what we do in decimal (be careful of decimal point's placement). Normalize if necessary to make the first digit 1 and account for the shifting in the exponent.