Cumulative Computer Quiz #1

Originally posted by ainwood
I might be mis-interpreting the question, but a single precision floating point takes 4 bytes of memory, and the double takes 8 bytes.

I probably *did* phrase things too vaguely... What I want
to know is the number of bits of precision for both
mantissa and exponent in single and double precision floating point numbers which use the IEEE-754 floating point format.
For purposes of the question, the sign bit does not count as one bit of precision.

Hope that helps
 
Please start a Cumulative computer quiz #2. I am limiting threads in this forum to 200 posts because this forum is often used for references and threads need to remain small and easy to navigate.
 
I am re-opening this thread now since it appears starlifter is not here to open a new one. If one of you opens a new one please pm me. This thread will be unstickied in 5 days if there are no new posts.
 
Answers: 7 bits exponent, 23 bits mantissa for single precision.
15 bits exponent, 47 bits manissa for double precision.

Anyone feel free to toss in a new question.
 
Back
Top Bottom