- Split input into 3 regimes
if b < -1.5551074556147433e-63
Initial program 53.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Taylor expanded around -inf 46.2
\[\leadsto \frac{\left(-b\right) - \color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)}}{2 \cdot a}\]
Applied simplify8.5
\[\leadsto \color{blue}{\frac{-c}{\frac{b}{1}}}\]
if -1.5551074556147433e-63 < b < 3.4694830941587433e+120
Initial program 12.8
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num13.0
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
if 3.4694830941587433e+120 < b
Initial program 49.0
\[\frac{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
Taylor expanded around inf 10.6
\[\leadsto \frac{\left(-b\right) - \color{blue}{\left(b - 2 \cdot \frac{c \cdot a}{b}\right)}}{2 \cdot a}\]
Applied simplify3.5
\[\leadsto \color{blue}{\frac{(\left(\frac{c}{b}\right) \cdot \left(2 \cdot a\right) + \left(-b\right))_* - b}{2 \cdot a}}\]
- Recombined 3 regimes into one program.
Applied simplify9.9
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -1.5551074556147433 \cdot 10^{-63}:\\
\;\;\;\;-\frac{c}{b}\\
\mathbf{if}\;b \le 3.4694830941587433 \cdot 10^{+120}:\\
\;\;\;\;\frac{1}{\frac{a \cdot 2}{\left(-b\right) - \sqrt{b \cdot b - \left(c \cdot a\right) \cdot 4}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{(\left(\frac{c}{b}\right) \cdot \left(a \cdot 2\right) + \left(-b\right))_* - b}{a \cdot 2}\\
\end{array}}\]