- Split input into 3 regimes
if (- b) < -1.4732232065949135e-71
Initial program 53.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 46.5
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify7.8
\[\leadsto \color{blue}{\left(-1\right) \cdot \frac{c}{b}}\]
if -1.4732232065949135e-71 < (- b) < 1.80809249792908e+139
Initial program 12.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
if 1.80809249792908e+139 < (- b)
Initial program 55.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 10.9
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify3.3
\[\leadsto \color{blue}{\frac{\frac{c}{b}}{1} - \frac{b + b}{2 \cdot a}}\]
- Recombined 3 regimes into one program.
Applied simplify9.4
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;-b \le -1.4732232065949135 \cdot 10^{-71}:\\
\;\;\;\;\frac{-c}{b}\\
\mathbf{if}\;-b \le 1.80809249792908 \cdot 10^{+139}:\\
\;\;\;\;\frac{\sqrt{b \cdot b - \left(a \cdot 4\right) \cdot c} + \left(-b\right)}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{c}{b}}{1} - \frac{b + b}{2 \cdot a}\\
\end{array}}\]