(I think?)
(yes, I know about rounding, fractions, different bases - I was just trying to explain why it still worked. sigh.)
If you know enough about floating point to prove that the rounding will always give you the correct answer, then probably you would have just used the integer representation to begin with.
If you know enough about floating point to prove that the rounding will always give you the correct answer, then probably you would have just used the integer representation to begin with.