2 ms·
I think it's a great article and it's nice to see a that it has up votes, as a lot of programmers, including those without a computer science background, have n
by mfonda 14y ago
I think it's a great article and it's nice to see a that it has up votes, as a lot of programmers, including those without a computer science background, have no idea about binary or how computers represent decimals.
The article opens with a good summary of the problem:
Questions [about floating point issues] are asked every day, on online forums like stackoverflow.com.
The answer is that most decimals have infinite representations in binary.