Write the decimal equivalents for these IEEE floating point numbers
0 10000011 00000000000000000000000
0 10000011 00000000000000000000000 sign bit is 0(+ve) exp bits are 10000011 => 10000011 => 1x2^7+0x2^6+0x2^5+0x2^4+0x2^3+0x2^2+1x2^1+1x2^0 => 1x128+0x64+0x32+0x16+0x8+0x4+1x2+1x1 => 128+0+0+0+0+0+2+1 => 131 in decimal it is 131 so, exponent/bias is 131-127 = 4 frac bits are IEEE-754 Decimal value is 1.frac * 2^exponent IEEE-754 Decimal value is 1. * 2^4 1. in decimal is 1 => 1. => 1x2^0 => 1x1 => 1 => 1 so, 1 * 2^4 in decimal is 16 so, 01000001100000000000000000000000 in IEEE-754 single precision format is 16 Answer: 16
Get Answers For Free
Most questions answered within 1 hours.