I am having difficulty in converting 29 and 0.7 to IEEE single precision floating point.(adsbygoogle = window.adsbygoogle || []).push({});

For 29,

I represent 29 as a product of a power of 2 using 58/4 * 2^{1}.

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Converting 29 and 0.7 to IEEE single precision floating point

**Physics Forums | Science Articles, Homework Help, Discussion**