The excercise :
The following exercise will handle binary (Radix 2) fixed-point numbers.
Should numbers not fit (i.e. too many decimal places) 'Round To Nearest Even' should be used.
b) Encode 2.544921875 as a binary fixed point number with 5 decimal places.
I`m not really sure how to convert it into a fixpoint number,
My approch:
2.544921875 * 25 = 81,4375 and then I have rounded the number to the nearest even : 82 and converted it back to binary 01010010. But the auto correction said the answer is wrong.
Should I round to 81,438? When yes how do I represent that number in binary