The cases involving complex conjugate roots (if any) can also be handled by Eqs. ( made of the current computational facilities for calculation with complex numbers and functions of complex variables. In these cases, the cubic roots are preferably calculated using the cubic formula or numerical root finding algorithms . For cases involving a double root (if any), the previous solution form no longer applies.