- #1
KataKoniK
- 1,347
- 0
I am having difficulty in converting 29 and 0.7 to IEEE single precision floating point.
For 29,
I represent 29 as a product of a power of 2 using 58/4 * 21.
However, I am having trouble getting the mantissa value because 58/4 is 14.5, and I need something in the format of 1.[numbers]. Any help would be great, thanks.
For 0.7,
I do not know how I would represent 0.7 as a product of a power of 2 because there is no exact binary number representation for 0.7. Any help would be great, thanks.
For 29,
I represent 29 as a product of a power of 2 using 58/4 * 21.
However, I am having trouble getting the mantissa value because 58/4 is 14.5, and I need something in the format of 1.[numbers]. Any help would be great, thanks.
For 0.7,
I do not know how I would represent 0.7 as a product of a power of 2 because there is no exact binary number representation for 0.7. Any help would be great, thanks.