Question

In: Computer Science

convert 0xC2000000 into IEEE-754 single precision decimal format.

convert 0xC2000000 into IEEE-754 single precision decimal format.

Solutions

Expert Solution

Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from hexadecimal to binary
Converting C2000000 to binary
C => 1100
2 => 0010
0 => 0000
0 => 0000
0 => 0000
0 => 0000
0 => 0000
0 => 0000
So, in binary C2000000 is 11000010000000000000000000000000
11000010000000000000000000000000
1 10000100 00000000000000000000000
sign bit is 1(-ve)
exp bits are 10000100
   => 10000100
   => 1x2^7+0x2^6+0x2^5+0x2^4+0x2^3+1x2^2+0x2^1+0x2^0
   => 1x128+0x64+0x32+0x16+0x8+1x4+0x2+0x1
   => 128+0+0+0+0+4+0+0
   => 132
in decimal it is 132
so, exponent/bias is 132-127 = 5
frac bits are

IEEE-754 Decimal value is 1.frac * 2^exponent
IEEE-754 Decimal value is 1. * 2^5
1. in decimal is 1
   => 1.
   => 1x2^0
   => 1x1
   => 1
   => 1
so, 1 * 2^5 in decimal is 32
so, 11000010000000000000000000000000 in IEEE-754 single precision format is -32
Answer: -32

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 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.
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
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
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.
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