When I'm solving system of equations of ellipse and circle I get the quartic equation. The solution of equation is four complex roots. The plot shows that there is a two intersection points and two roots of four has small imaginary part but not zero. There are always some error in result values (I think, it is because non ideal computer computations) and I can't find a good threshold to filter that correct results with small imaginary part from the true complex numbers with true imaginary part.
Is there exist a reliable method to filter real roots with noise from true complex roots?