We present an obvious but overlooked method for the solution of cubic equations, which is as unoriginal as it is naïve, but which will unerringly deliver all three roots of a cubic function, to an accuracy only limited by the accuracy of the computer.
Method QND Cubic Function Root Finder