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

convert 0xC2000000 into IEEE-754 single precision decimal format.
convert 0xC2000000 into IEEE-754 single precision decimal format.
convert 0xC2000000 into IEEE-754 single precision decimal format.
convert 0xC2000000 into IEEE-754 single precision decimal format.
convert 0xC2000000 into IEEE-754 single precision decimal format.
convert 0xC2000000 into IEEE-754 single precision decimal format.
Write the binary representation of the decimal number -64 (negative 64) Assuming IEEE 754 single precision...
Write the binary representation of the decimal number -64 (negative 64) Assuming IEEE 754 single precision format Assuming 8-bit 2’s complement representation Assuming signed magnitude representation
Determine the representation for the following decimal numbers in single-precision IEEE 754 format. Give them in...
Determine the representation for the following decimal numbers in single-precision IEEE 754 format. Give them in 32-bit binary and show the calculation. -10^(−8)
write value of PI(3.14159) in IEEE-754 single-precision format
write value of PI(3.14159) in IEEE-754 single-precision format
Represent (10.375)10 as single precision IEEE 754, show all the steps
Represent (10.375)10 as single precision IEEE 754, show all the steps
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.  
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT