A Unified Numerically Stable Framework for Cubic Equations: Classification by Injectivity (One-to-One) and Elimination of Catastrophic Cancellation | Synapse