Lecture 02 - Floating Point Arithmetic
Lecture 02 - Floating Point Arithmetic
Fall 2024
S Exponent Fraction
S E F = f1 f2 f3 f4 …
Significand is equal to (1.F)2 = (1.f1f2f3f4…)2
IEEE 754 assumes hidden 1. (not stored) for normalized numbers
Significand is 1 bit longer than fraction
Value of a Normalized Floating Point Number is
Solution: implicit
Value in decimal = +(1.01001100 … 0)2 × 2130–127 =
(1.01001100 … 0)2 × 23 = (1010.01100 … 0)2 = 10.375
9 Dr. Tarek Abdul Hamid Digital Engineering
Examples of Double Precision Float
What is the decimal value of this Double Precision float ?
01000000010100101010000000000000
00000000000000000000000000000000
Solution:
Value of exponent = (10000000101)2 – Bias = 1029 – 1023 = 6
Value of double float = (1.00101010 … 0)2 × 26 (1. is implicit) =
(1001010.10 … 0)2 = 74.5
What is the decimal value of ?
10111111100010000000000000000000
00000000000000000000000000000000