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
| Value | Normalized binary representation | Sign, biased exponent, fraction |
|---|---|---|
0 01110 0000000000 | ||
0 01110 0100000000 | ||
1 01100 1000000000 | ||
0 10010 1111000000 |
Thus the four 16-bit words areEvery conversion is exact: all four numbers have terminating binary representations within the available precision.
Articles by others on the same topic
There are currently no matching articles.