- Split input into 3 regimes
if b_2 < -1.1664746849336278e-95
Initial program 52.8
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around -inf 47.4
\[\leadsto \frac{\left(-b_2\right) - \color{blue}{\left(\frac{1}{2} \cdot \frac{c \cdot a}{b_2} - b_2\right)}}{a}\]
Applied simplify9.6
\[\leadsto \color{blue}{\frac{\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}}{1}}\]
if -1.1664746849336278e-95 < b_2 < 6.586964650891113e+151
Initial program 11.6
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-sub11.6
\[\leadsto \color{blue}{\frac{-b_2}{a} - \frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a}}\]
if 6.586964650891113e+151 < b_2
Initial program 60.0
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around inf 11.7
\[\leadsto \frac{\left(-b_2\right) - \color{blue}{\left(b_2 - \frac{1}{2} \cdot \frac{c \cdot a}{b_2}\right)}}{a}\]
Applied simplify2.2
\[\leadsto \color{blue}{\frac{\frac{\frac{1}{2} \cdot a}{\frac{b_2}{c}} - \left(b_2 + b_2\right)}{a}}\]
- Recombined 3 regimes into one program.
Applied simplify9.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b_2 \le -1.1664746849336278 \cdot 10^{-95}:\\
\;\;\;\;\left(-\frac{1}{2}\right) \cdot \frac{c}{b_2}\\
\mathbf{if}\;b_2 \le 6.586964650891113 \cdot 10^{+151}:\\
\;\;\;\;\left(-\frac{b_2}{a}\right) - \frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{a \cdot \frac{1}{2}}{\frac{b_2}{c}} - \left(b_2 + b_2\right)}{a}\\
\end{array}}\]