3 ms·
The problem is, I guess, that people assume that floating-point numbers represent real numbers and behave like those. But while they're an often useful approxim
by ygra 12y ago
The problem is, I guess, that people assume that floating-point numbers represent real numbers and behave like those. But while they're an often useful approximation, they are governed by very different laws. The same holds for integers in computers (except bigints), but the only place where they bite you is overflow and not by unexpected behaviour over the whole range of numbers.