E
E M
Mantissa (1:N)2𝐸−127
(1:N)2𝐸−1023
E
E M
Mantissa
Representation of Floating-Point Numbers
• (5.625)10=(101.101)2
• (5.625)10 (0.5625x101 ) Exponent
Mantissa
• (101.101)2 (0.101101x23 ) Exponent
• Mantissa
Sign Exponent Mantissa
Need of Normalization
• (101.101)2= 0.101101x23
• (101.101)2=1.01101x 22
• (101.101)2=0.0101101x24
• (101.101)2=101101x2−3
• Normalization(floating point numbers is normalized if Most Significant Bit of mantissa
is non-zero)
• Two types
1. Explicit Normalization: Move the radix point to the LHS of the most significant ‘1’ in the bit
sequence.
(101.101)2= 0.101101x23
2. Implicit Normalization:Move the radix point to the RHS of the most significant ‘1’ in the bit
sequence.
(101.101)2= 1.01101x22
The numerical value of the number is evaluated as
Explicit Normalization: Implicit Normalization:
(−1)𝑠 𝑥 0. 𝑀 𝑥 2𝐸−𝐵𝑎𝑖𝑠 (−1)𝑠 𝑥 1. 𝑀 𝑥 2𝐸−𝐵𝑎𝑖𝑠
Binary Multiplication
Binary Multiplication: Successively multiply the multiplicand by each digit of the
multiplier starting at the right shifting the result left by an extra left position each time each
time but the first. Then sum all partial results.
❑ Unsigned multiplication
❑ Signed multiplication
Block diagram
Method 1:
Try: Multiply 7 X 6
Example: Multiply 15 X 11
Flowchart of Unsigned Binary Multiplication
1011x1101
Multiplication for UNsigned numbers (Booth method) 2’s complement
Example : 3 X -7
Example : 6 X -2
Multiply 9 X -3
Multiplication for signed numbers (Booth method) 2’s complement
Q Q-1
AC+M’+1
M
AC+M M’
AC+M’+1
The END of the Lecture
for
Your Attention