- Split input into 3 regimes
if b_2 < -5.878966939257894e+153
Initial program 60.7
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around -inf 10.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 simplify2.0
\[\leadsto \color{blue}{c \cdot \frac{\frac{1}{2}}{b_2} - \left(\frac{b_2}{a} + \frac{b_2}{a}\right)}\]
if -5.878966939257894e+153 < b_2 < 7.205556075081333e-82
Initial program 12.0
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
if 7.205556075081333e-82 < b_2
Initial program 52.5
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Taylor expanded around inf 47.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 simplify9.4
\[\leadsto \color{blue}{\frac{c}{b_2} \cdot \left(-\frac{1}{2}\right)}\]
- Recombined 3 regimes into one program.
Applied simplify9.8
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b_2 \le -5.878966939257894 \cdot 10^{+153}:\\
\;\;\;\;c \cdot \frac{\frac{1}{2}}{b_2} - \left(\frac{b_2}{a} + \frac{b_2}{a}\right)\\
\mathbf{if}\;b_2 \le 7.205556075081333 \cdot 10^{-82}:\\
\;\;\;\;\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - c \cdot a}}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b_2} \cdot \frac{-1}{2}\\
\end{array}}\]