I want to determine whether a point is inside a circle or not. So I do this :
(x - center_x)^2 + (y - center_y)^2 < radius^2
But my coordinates are double and I think I should do it with epsilon, so is fabs ((x - center_x)^2 + (y - center_y)^2 - radius^2 ) < EPS better?
^2raises something to the second power. That's not the case. In C++^is "bitwise XOR" - en.cppreference.com/w/cpp/language/…