>Fabio,
>
>>David, not mixed potatoes with tomatoes, please.
>
>That's exactly what you were doing. I was merely pointing out that one needs to understand where binary representation conversions are taking place and how those conversions affect the overall result. Since 1 / 3 is an infinitely repeating decimal value, and we don't have infinite bits to store it, there will be round off errors.
David,
infinite bits have none influence on this issue.
1/8192 is stored exactly with 0 bits !
and, of course:
? $8192*1/8192,$8192*(1/8192)
1/10 need infinite bits to store it in binary,
and, of course ....
? $10*1/10,$10*(1/10)
The issue is not on the right factor, but on the left fact ( the currency ).
I do not want more to answer to you, is useless.