0 00000000000000000000000 0111011
How would I do this problem I am lost.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your bolding suggests that you might be a bit confused about the order of fields; IEEE generally uses the order sign,exponent,fraction for floating point numbers. (Incidentally, this allows the use of twos-complement-integer sorts to sort IEEE floating point numbers, if there are no NaNs or other non-numeric values.)
So what are we looking at here? The first bit is the sign: 0. So we have a positive number. (How to remember this? Go back to the allowed-to-use-integer-sort — a leading one in a twos-complement integer means it’s negative.)
The next eight bits are the exponent: also 0. This is the lowest possible exponent value; it normally represents an unsigned integer biased by 127, or the value -127. However, the exponent value 0 is reserved for encoding subnormal numbers (numbers less than the smallest normally representable); in this special case, the effective exponent is -126, but rather than representing the number 1.fraction * 2^exponent, a subnormal represents the number 0.fraction * 2^exponent.
Finally, we have the fraction, which is
0000000000000000111011. So our total number is 0.0000000000000000111011b * 2^-126. Converting this to decimal is left to the reader.