- Split input into 3 regimes
if b_2 < -3.389509236151252e+144
Initial program 57.2
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification57.2
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 1.9
\[\leadsto \color{blue}{-2 \cdot \frac{b_2}{a}}\]
if -3.389509236151252e+144 < b_2 < 8.206202096779753e-108
Initial program 11.7
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification11.7
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied fma-neg11.7
\[\leadsto \frac{\sqrt{\color{blue}{(b_2 \cdot b_2 + \left(-a \cdot c\right))_*}} - b_2}{a}\]
if 8.206202096779753e-108 < b_2
Initial program 51.8
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification51.8
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied clear-num51.8
\[\leadsto \color{blue}{\frac{1}{\frac{a}{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}}}\]
Taylor expanded around 0 11.0
\[\leadsto \frac{1}{\color{blue}{-2 \cdot \frac{b_2}{c}}}\]
- Recombined 3 regimes into one program.
Final simplification10.3
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -3.389509236151252 \cdot 10^{+144}:\\
\;\;\;\;-2 \cdot \frac{b_2}{a}\\
\mathbf{elif}\;b_2 \le 8.206202096779753 \cdot 10^{-108}:\\
\;\;\;\;\frac{\sqrt{(b_2 \cdot b_2 + \left(a \cdot \left(-c\right)\right))_*} - b_2}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{-2 \cdot \frac{b_2}{c}}\\
\end{array}\]