








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!









1
Tri- state buffer
Decoder selects the shift amount …
x
x
x
y0 y1 y
X-input Y-output
…
2
Shift Count
Input
Word
Output Word
A shift/bypass cell
Number of gates: O(NlogN) Delay: O(logN)
4
Floating-point representation
Sign is negative
The Significand or Mantissa
Base is 10; fixed for a given representation
The Exponent
5
Floating-Point Representation
sign exponent fraction
M bits
m (^) e m^ f
The Bias or excess representation
7
IEEE 32 bit single precision format
s (^) e ^^ f 1 f 2 …f 23
sign exponent^ fraction
Fraction bits of significand including the hidden bit
Positive values between 0 to 255 with bias=
The IEEE standard floating point numbers can be either
nomalized or denormalized. The denormalized number
does not have a hidden bit Docsity.com
8
E^ e VALUE TYPE
255 none (^) none NaN
s (^) x(1.f 1 .f 2 …)x
127
s (^) x(1.f 1 .f 2 …)x
s (^) x(1.f 1 .f 2 …)x
s (^) x(1.f 1 .f 2 …)x
10
The steps taken in floating point
addition or subtraction are
11
Floating Point Addition
13
Floating Point
Multiplication and Division
Unpack sign, exponent and significands
Apply xor operation to signs, add exponents, Multiply significands
Normalize, round And shift
Adjust for overflow
Pack the result and report exceptions
14
Floating Point
Multiplication and Division
Unpack sign, exponent and significands
Apply xor operation to signs, subtract exponents, divide significands
Normalize, round And shift
Adjust for overflow
Pack the result and report exceptions