- Split input into 4 regimes
if (- b) < -57.05332371598462
Initial program 55.4
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around inf 17.5
\[\leadsto \frac{\color{blue}{-2 \cdot \frac{c \cdot a}{b}}}{2 \cdot a}\]
Applied simplify6.1
\[\leadsto \color{blue}{\frac{c}{b} \cdot \frac{-2}{2}}\]
if -57.05332371598462 < (- b) < -6.041090339021061e-192
Initial program 31.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied flip-+31.1
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} \cdot \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}{2 \cdot a}\]
Applied simplify18.2
\[\leadsto \frac{\frac{\color{blue}{c \cdot \left(a \cdot 4\right)}}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{2 \cdot a}\]
if -6.041090339021061e-192 < (- b) < 1.5285447525713952e+127
Initial program 9.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied div-inv9.8
\[\leadsto \color{blue}{\left(\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\right) \cdot \frac{1}{2 \cdot a}}\]
if 1.5285447525713952e+127 < (- b)
Initial program 52.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Taylor expanded around -inf 10.6
\[\leadsto \frac{\left(-b\right) + \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify3.2
\[\leadsto \color{blue}{1 \cdot \frac{(\left(\frac{a}{b}\right) \cdot c + \left(-b\right))_*}{a}}\]
- Recombined 4 regimes into one program.
Applied simplify8.8
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;-b \le -57.05332371598462:\\
\;\;\;\;\frac{-2}{2} \cdot \frac{c}{b}\\
\mathbf{if}\;-b \le -6.041090339021061 \cdot 10^{-192}:\\
\;\;\;\;\frac{\frac{\left(4 \cdot a\right) \cdot c}{\left(-b\right) - \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}{a + a}\\
\mathbf{if}\;-b \le 1.5285447525713952 \cdot 10^{+127}:\\
\;\;\;\;\left(\sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c} + \left(-b\right)\right) \cdot \frac{1}{a + a}\\
\mathbf{else}:\\
\;\;\;\;\frac{(\left(\frac{a}{b}\right) \cdot c + \left(-b\right))_*}{a}\\
\end{array}}\]