Show how the following floating point value would be stored using IEEE-754 singl
ID: 3747712 • Letter: S
Question
Show how the following floating point value would be stored using IEEE-754 single and double precision:
0.75
Find the single: sign, exponent, and significand
Find the double: sign, exponent, and significand
Explanation / Answer
0.75 0.75 in normal binary is 0.11 => 1.1*2^-1 single precision: -------------------- sign bit is 0(+ve) exponent bits are (127-1=126) => 01111110 frac/significand bits are 10000000000000000000000 so, 0.75 in single-precision format is 0 01111110 10000000000000000000000 double precision: ------------------- sign bit is 0(+ve) exponent bits are (1023-1=1022) => 01111111110 frac/significand bits are 1000000000000000000000000000000000000000000000000000 so, 0.75 in single-precision format is 0 01111111110 1000000000000000000000000000000000000000000000000000