- Split input into 3 regimes
if (- b) < -5.7583530328199956e-65
Initial program 53.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 47.0
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify8.9
\[\leadsto \color{blue}{\frac{-c}{\frac{b}{1}}}\]
if -5.7583530328199956e-65 < (- b) < 6.661267119482918e+91
Initial program 13.2
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num13.3
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}\]
Applied simplify13.3
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}}\]
if 6.661267119482918e+91 < (- b)
Initial program 44.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 10.5
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify4.6
\[\leadsto \color{blue}{1 \cdot \frac{c}{b} - \frac{b + b}{2 \cdot a}}\]
- Recombined 3 regimes into one program.
Applied simplify10.2
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;-b \le -5.7583530328199956 \cdot 10^{-65}:\\
\;\;\;\;\frac{-c}{b}\\
\mathbf{if}\;-b \le 6.661267119482918 \cdot 10^{+91}:\\
\;\;\;\;\frac{1}{\frac{a \cdot 2}{\sqrt{(\left(-4\right) \cdot \left(a \cdot c\right) + \left(b \cdot b\right))_*} - b}}\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} - \frac{b + b}{a \cdot 2}\\
\end{array}}\]