Convert each value to the half-precision format as follows:
Consider 1.666015625 x 100 as A , The exponent is zero, so simply convert the number to binary.
Consider 1.9760 x 104as B. The exponent is 4, so place the decimal point four digits right as 19760.0 ., Now convert to binary.
The floating-point is adjusted to the power of 2.
Consider -1.9744 x 104 as C . The exponent is 4, so place the decimal point four digits right as -19744.0., Now convert to binary.
The floating-point is adjusted to the power of 2.
The fraction part is calculated as follows:
-------------------------------------------------------
-----------------------------------------------------
Normalize the above value and add 1 to the exponent.
A x B = 1.0000001001100001111
Guard bit=1,
Round bit=1,
Sticky bit=1
Then, AxB = 1.000000101 x 215
Now, Calculate : A x C
-----------------------------------------------------
-----------------------------------------------------
Normalize the above value and add 1 to the exponent
Guard bit=1,
Round bit=1,
Sticky bit=1
Finally, Add and
Normalize the above value, then the floating-point value of
is 1.0000000000 x 25
The decimal value is 32