Question

In: Computer Science

6 – Assuming single precision IEEE 754 format, what decimal number is represent by the following...

6 – Assuming single precision IEEE 754 format, what decimal number is represent by the following 32-bit binary word?

1 10001000 10010000000000000000000

Solutions

Expert Solution

1 10001000 10010000000000000000000
sign bit is 1(-ve)
exp bits are 10001000
Converting 10001000 to decimal
   10001000
   => 1x2^7+0x2^6+0x2^5+0x2^4+1x2^3+0x2^2+0x2^1+0x2^0
   => 1x128+0x64+0x32+0x16+1x8+0x4+0x2+0x1
   => 128+0+0+0+8+0+0+0
   => 136
in decimal it is 136
so, exponent/bias is 136-127 = 9
frac bits are 1001

IEEE-754 Decimal value is 1.frac * 2^exponent
IEEE-754 Decimal value is 1.1001 * 2^9
1.1001 in decimal is 1.5625
   => 1.1001
   => 1x2^0+1x2^-1+0x2^-2+0x2^-3+1x2^-4
   => 1x1+1x0.5+0x0.25+0x0.125+1x0.0625
   => 1+0.5+0.0+0.0+0.0625
   => 1.5625
so, 1.5625 * 2^9 in decimal is 800.0
so, 11000100010010000000000000000000 in IEEE-754 single precision format is -800.0
Answer: -800.0



Related Solutions

2. a) Represent the decimal value 47.375 as a single precision IEEE floating point number. Give...
2. a) Represent the decimal value 47.375 as a single precision IEEE floating point number. Give your answer in hexadecimal and show your work. b) Represent the decimal value 47.375 as a double precision IEEE floating point number. Give your answer in hexadecimal and show your work.
Convert 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE...
Convert 1101.11011101 x 223 to IEEE Standard 754 for single-precision floating-point binary format. Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B)...
A) Convert 1101.11011101 x 223 to IEEE Standard 754 for single precision floating-point binary format. B) Convert the IEEE Standard 754 number 11001010100011010101000000000000 to its decimal equivalent.  
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for...
Convert 0xCD001234 from IEEE-754 hexadecimal to single-precision floating point format. Please show every single detail for upvote. Please do not answer otherwise.
Show the IEEE 754 binary representation of the number -0.25(subscript)ten in single and double precision. List...
Show the IEEE 754 binary representation of the number -0.25(subscript)ten in single and double precision. List all the steps required to get the single and double precision.
a newer version of IEEE 754 defines a half precision floating point format that is only...
a newer version of IEEE 754 defines a half precision floating point format that is only 16 bits wide. the left most bit is still the sign bit. the exponent is 5 bits wide and has a bias of 15, and the fraction is 10 bits long. A hidden 1 is assumed similar to single and double precision formats. what is the bit pattern to represent -0.5 using this format?
Using IEEE 754 single precision floating point, write the hexadecimal representation for each of the following:...
Using IEEE 754 single precision floating point, write the hexadecimal representation for each of the following: a. Zero b. -2.0 (base 10) c. 256. 0078125 (base 10) d. Negative infinity
For IEEE 754 single-precision floating point, what is the hexadecimal representation of 27.101562? A. 35CCD001 B....
For IEEE 754 single-precision floating point, what is the hexadecimal representation of 27.101562? A. 35CCD001 B. 2F5C10D0 C. 41D8D000 D. 7DCA1111 E. None of the above
convert -549.675 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast...
convert -549.675 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
convert -47.199 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast...
convert -47.199 to IEEE-754 single precision and double precision both. Need a lot of explanation. (Atleast 1000 words)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT