|
|
|
|
|
by worik
1895 days ago
|
|
Sigh The representation means that 2.9999999999 = 3.00000000 I am not confused. You cannot use equality in floating point. Why is anybody surprised by that? That is my point (I did say floating point before when I ment real. A bit confused!) |
|
I wasn't saying you were confused, I was saying I believe I understand how the general confusion around the whole issue arises.
(If decimal floating point had been commonly used instead of binary, the same class of issues would still exist, but I don't think people would be nearly so surprised by them).