- Split input into 3 regimes
if b_2 < -2.8880468196997556e-80
Initial program 51.8
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-sub52.6
\[\leadsto \color{blue}{\frac{-b_2}{a} - \frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a}}\]
Taylor expanded around -inf 10.0
\[\leadsto \color{blue}{\frac{-1}{2} \cdot \frac{c}{b_2}}\]
if -2.8880468196997556e-80 < b_2 < 2.743299671584071e+131
Initial program 12.2
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-sub12.2
\[\leadsto \color{blue}{\frac{-b_2}{a} - \frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a}}\]
- Using strategy
rm Applied fma-neg12.2
\[\leadsto \frac{-b_2}{a} - \frac{\sqrt{\color{blue}{(b_2 \cdot b_2 + \left(-a \cdot c\right))_*}}}{a}\]
if 2.743299671584071e+131 < b_2
Initial program 53.3
\[\frac{\left(-b_2\right) - \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
- Using strategy
rm Applied div-sub53.3
\[\leadsto \color{blue}{\frac{-b_2}{a} - \frac{\sqrt{b_2 \cdot b_2 - a \cdot c}}{a}}\]
Taylor expanded around inf 2.4
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{c}{b_2} - 2 \cdot \frac{b_2}{a}}\]
Simplified2.4
\[\leadsto \color{blue}{(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*}\]
- Recombined 3 regimes into one program.
Final simplification10.1
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -2.8880468196997556 \cdot 10^{-80}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\mathbf{elif}\;b_2 \le 2.743299671584071 \cdot 10^{+131}:\\
\;\;\;\;\left(-\frac{b_2}{a}\right) - \frac{\sqrt{(b_2 \cdot b_2 + \left(c \cdot \left(-a\right)\right))_*}}{a}\\
\mathbf{else}:\\
\;\;\;\;(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*\\
\end{array}\]