Now how many bits do you have in the mantissa? If you are using normalized floating point you will have an extra bit of precision.
So if we have a 23 bit mantissa we have 24 bits of precision so our floating point representation of is:
So the error is
(If the representation rounds rather than truncates then:
and you will need to recompute the exact error)