# Floating point unit question

Discussion in 'Homework Help' started by capricorn, Jun 21, 2009.

1. ### capricorn Thread Starter New Member

Jun 21, 2009
1
0
a question asked for my previous exam

******
Q.Draw a neat diagram of a floating point unit and explain how addition and subtraction are carried out in floating point unit.
******

i cant find the diagram anywhere on the internet,, and there is no suitable explanation to it also,,,

Last edited: Jun 21, 2009
2. ### Papabravo Expert

Feb 24, 2006
11,640
2,440
Sorry to burst your bubble, but even the internet can't answer every question. Here is what we know:
1. You need to restore the implied 1 in the mantissa before you can add or subtract
2. In order to add or subtract two FP numbers they must have the same exponents
3. If the mantissa is shifted left then the exponent must be decremented.
4. If the mantissa is shifted right the exponent must be incremented.
5. Once the exponents are the same you can add and subtract with a normal adder and subtractor circuit.
6. The result must be normalized and the implied 1 must be removed.
This should suggest at least a block diagram

3. ### Ratch New Member

Mar 20, 2007
1,068
4
capricorn,

There is a good verbal description and examples of floating point operations at http://en.wikipedia.org/wiki/Floating_point . Read, assimilate, and draw any diagram you desire to illustrate the operation.

Ratch