Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/digital-systems-linear-algebra-introduction-to-formal-proof/5/a/solution

For a normal half-precision floating-point number, write the stored fields as sign , biased exponent and ten-bit fraction . The value is for . The leading one is implicit: the ten stored fraction bits give eleven significant binary digits including that one. The normalized binary representations and stored fields are
ValueNormalized binary representationSign, biased exponent, fraction
0 01110 0000000000
0 01110 0100000000
1 01100 1000000000
0 10010 1111000000
Thus the four 16-bit words are
Every conversion is exact: all four numbers have terminating binary representations within the available precision.

New to topics? Read the docs here!