- Split input into 3 regimes
if b_2 < -6.269787584020147e+84
Initial program 40.6
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification40.6
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
Taylor expanded around -inf 3.8
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{c}{b_2} - 2 \cdot \frac{b_2}{a}}\]
Simplified3.8
\[\leadsto \color{blue}{(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*}\]
if -6.269787584020147e+84 < b_2 < 1.2526779540609085e-88
Initial program 12.5
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification12.5
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied fma-neg12.5
\[\leadsto \frac{\sqrt{\color{blue}{(b_2 \cdot b_2 + \left(-a \cdot c\right))_*}} - b_2}{a}\]
if 1.2526779540609085e-88 < b_2
Initial program 52.2
\[\frac{\left(-b_2\right) + \sqrt{b_2 \cdot b_2 - a \cdot c}}{a}\]
Initial simplification52.2
\[\leadsto \frac{\sqrt{b_2 \cdot b_2 - a \cdot c} - b_2}{a}\]
- Using strategy
rm Applied fma-neg52.2
\[\leadsto \frac{\sqrt{\color{blue}{(b_2 \cdot b_2 + \left(-a \cdot c\right))_*}} - b_2}{a}\]
Taylor expanded around inf 10.0
\[\leadsto \color{blue}{\frac{-1}{2} \cdot \frac{c}{b_2}}\]
- Recombined 3 regimes into one program.
Final simplification9.9
\[\leadsto \begin{array}{l}
\mathbf{if}\;b_2 \le -6.269787584020147 \cdot 10^{+84}:\\
\;\;\;\;(-2 \cdot \left(\frac{b_2}{a}\right) + \left(\frac{c}{\frac{b_2}{\frac{1}{2}}}\right))_*\\
\mathbf{elif}\;b_2 \le 1.2526779540609085 \cdot 10^{-88}:\\
\;\;\;\;\frac{\sqrt{(b_2 \cdot b_2 + \left(-c \cdot a\right))_*} - b_2}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{-1}{2} \cdot \frac{c}{b_2}\\
\end{array}\]