


























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



























Floating Point Numbers Systems - Introduction
Mantissa Base Exponent sign - 10 sign + mag 2.34 ** mag 12 *radix 10 *radix 10
FPNS Basics (2)
possible 1st digit other digits
IEEE Floating Point Standard (Std 754)
V = (-1) S^ * 1.mmm… m * 2xxxxxxxx^ SE = VE + 127 V = (-1) S^ * VM * 2 VE
SE = 0 VFPN = 0 if VM = 0 SE = 1 VE = - Normal SE = 127 VE = 0 SE = 254 VE = + SE = 255 VFPN = NaN or infinty
31 30 23 22 1 0
rb = 2, re = 2, m = 24, e = 8, p = m = 23 (S/M) (unsigned, excess 127) MSB hidden, not stored
IEEE Floating Point Standard (Std 754)
IEEE FPNS Addition
IEEE FPNS Addition Hardware Diagram
Compare
8
8
32 8
32
8 8
Adjust E
D
8
23
23
24 24
Normalize M
23
0
SY
Align MA Align MB 24 24 ACout (^) F CinB
1 23
M (^24 24) M23-
SR (n)
Select + Increment for Normalize
Reg3S 3S Reg 3S Reg
1
Version 1 (2)
Version 1 (3)
Version 1S (2)
IEEE FPNS Addition/Subtraction
Negate Mantissa & Sign
IEEE FPNS Addition/Subtraction Algorithm
Version 2 (1)
Version 2 (2)