1.11M Members

IEEE Short Real Floating Point Format

 
0
 

Hi!

I have a decimal number (e.g 6433) and would like to see the process of converting this to IEEE short real floating point format!

Any help is appreciated ;)

 
0
 

See the wikipedia page on the topic: https://en.wikipedia.org/wiki/IEEE_754-2008

Basically you have a sign bit, an exponent part, and a mantissa part, and they represent the number

(1-2*sign_bit) * (1.0 + mantissa) * 2^(exponent - K) where K is a constant, exponent is interpreted as an unsigned integer, and mantissa is interpreted as the bits (of a base 2 number) after the decimal point, forming the number 1.abcdefghijklm... where abcdefghijklm... are the bits of the mantissa. And sign_bit is 0 or 1 of course.

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: