2 ms·
> Not that you can use the language-provided == on floats anyway, due to precision issues you should always check if the difference is below a specified limit..
by krylon 10y ago
> Not that you can use the language-provided == on floats anyway, due to precision issues you should always check if the difference is below a specified limit...
Hehe, I've been there. ;-) Fortunately, that code dealt with physical coordinates, so if two points were less than 100µm apart, they were equal for our purposes.