How do you convert from IEEE 754 single-precision floating-point format to decimal?

Posted by Tarmon on Stack Overflow See other posts from Stack Overflow or by Tarmon
Published on 2010-03-09T02:13:14Z Indexed on 2010/03/09 2:21 UTC
Read the original article Hit count: 403

Filed under:
|

I understand that the first bit is the sign and that the next 8 bits is the exponent. So in this example you would have 1.1001*2^-4 ? How do I then interpret this in decimal?

0 01111011 10010000000000000000000

© Stack Overflow or respective owner

Related posts about ieee-754

Related posts about binary