- Split input into 3 regimes
if b < -1.381381547653347e+145
Initial program 57.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 10.9
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify3.3
\[\leadsto \color{blue}{1 \cdot \frac{c}{b} - \frac{b + b}{2 \cdot a}}\]
if -1.381381547653347e+145 < b < 1.4694181488331766e-79
Initial program 11.6
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Applied simplify11.6
\[\leadsto \color{blue}{\frac{\sqrt{(\left(4 \cdot a\right) \cdot \left(-c\right) + \left(b \cdot b\right))_*} - b}{2 \cdot a}}\]
if 1.4694181488331766e-79 < b
Initial program 52.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 47.2
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify9.8
\[\leadsto \color{blue}{\frac{-c}{\frac{b}{1}}}\]
- Recombined 3 regimes into one program.
Applied simplify10.0
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -1.381381547653347 \cdot 10^{+145}:\\
\;\;\;\;\frac{c}{b} - \frac{b + b}{2 \cdot a}\\
\mathbf{if}\;b \le 1.4694181488331766 \cdot 10^{-79}:\\
\;\;\;\;\frac{\sqrt{(\left(4 \cdot a\right) \cdot \left(-c\right) + \left(b \cdot b\right))_*} - b}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]