Ask your own question, for FREE!
Computer Science 7 Online
OpenStudy (s3a):

Convert the following quantity to IEEE 754 single-precision floating-point.: 18.125 ========================================== I have watched several videos and researched a lot on the internet (including Wikipedia) but I still can't understand this. Could someone please show me the steps and logic behind this problem and explain to me the steps in extra detail? Sorry if I am asking for a lot, it's just that I've been trying hard to understand this procedure and I'm very confused.

OpenStudy (s3a):

Based on my current understanding, there is a number called the "sign bit" which is 0 for a positive number and 1 for a negative number multiplied by 1.fraction which is turn multiplied by 2^(exponent-bias). My problem is I just don't know how to find all these missing values. Any help would be greatly appreciated!

OpenStudy (anonymous):

Here's a tool you can play around with to get a feel for how the numbers work. Each check-box is a bit. http://www.h-schmidt.net/FloatConverter/IEEE754.html Or, if you're not interested in learning, you can enter 18.25 into the decimal box and hit enter.

OpenStudy (s3a):

Sorry for the late response. I AM interested in learning. ;) I think this along with wolframalpha.com will help me finally understand this. Thanks!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!