1. double precision

I'm asked to find the binary double precision IEEE floating point expression for a number.

Do I just convert to binary like normal to answer this question?

For example: If the number is 8...would my answer be 1000? Or do I need to do something else?

2. Originally Posted by jzellt
I'm asked to find the binary double precision IEEE floating point expression for a number.

Do I just convert to binary like normal to answer this question?

For example: If the number is 8...would my answer be 1000? Or do I need to do something else?
Remember a floating point number is 52 bits long.

I believe that $8_{10}=1000_2=1.0000000000000000000000000000000000 000000000000000000\times 2^{-3}$

If I'm mistaken, someone feel free to correct me.

3. Originally Posted by jzellt
I'm asked to find the binary double precision IEEE floating point expression for a number.

Do I just convert to binary like normal to answer this question?

For example: If the number is 8...would my answer be 1000? Or do I need to do something else?
No, start by looking at the definition of IEEE types, see the Wikipedia article.

CB