I'm having some trouble with a problem I've run into dealing with floating points. I'm having a hard time moving from floating point representation to decimal values and also from format A of the representation to format B of the representation.
The problem:
Consider the following two 9-bit floating-point representations based on the IEEE floating-point format.
- Format A
There is one sign bit. There are k = 5 exponent bits. The exponent bias is 15. There are n = 3 fraction bits.
- Format B
There is one sign bit There are k = 4 exponent bits. The exponent bias is 7. There are n = 4 faction bits
The problem wants me to convert the floating point representation "0 10110 011" from Format A to Format B. It also wants to know the values for each format. Can anyone assist me with the procedure for both of these tasks. Or perhaps direct me to an informative website that would be able to show me. I've been searching for a while now and I'm having trouble finding any resources. Thanks!
-Matt