What is the IEEE 754 single-precision bit pattern, in hexadecimal, for -6.25?

Correct answer B. C0C80000

Explanation

-6.25 = -1.5625 x 2^2. The sign bit is 1, the biased exponent is 2 + 127 = 129 (10000001) and the fraction is .1001 followed by zeros. Packing 1 10000001 1001000... gives C0C80000. 40C80000 is +6.25 because its sign bit is 0. C1480000 uses exponent 130 and so represents -12.5. Always add the bias of 127 to the true exponent.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.