- Split input into 4 regimes
if b < -7.623780782047697e+153
Initial program 61.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num61.0
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}\]
Applied simplify61.0
\[\leadsto \frac{1}{\color{blue}{\frac{2 \cdot a}{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} - b}}}\]
Taylor expanded around -inf 10.3
\[\leadsto \frac{1}{\frac{2 \cdot a}{\color{blue}{2 \cdot \frac{c \cdot a}{b} - 2 \cdot b}}}\]
Applied simplify1.9
\[\leadsto \color{blue}{\frac{\frac{a}{\frac{b}{c}} - b}{a}}\]
if -7.623780782047697e+153 < b < 5.4809203653664925e-108
Initial program 12.0
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num12.1
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}}}\]
Applied simplify12.1
\[\leadsto \frac{1}{\color{blue}{\frac{2 \cdot a}{\sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4} - b}}}\]
if 5.4809203653664925e-108 < b < 6.844885804288013e-56 or 2.345202142130803e-14 < b
Initial program 52.8
\[\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 simplify8.9
\[\leadsto \color{blue}{\left(-1\right) \cdot \frac{c}{b}}\]
if 6.844885804288013e-56 < b < 2.345202142130803e-14
Initial program 38.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
- Recombined 4 regimes into one program.
Applied simplify10.7
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;b \le -7.623780782047697 \cdot 10^{+153}:\\
\;\;\;\;\frac{\frac{a}{\frac{b}{c}} - b}{a}\\
\mathbf{if}\;b \le 5.4809203653664925 \cdot 10^{-108}:\\
\;\;\;\;\frac{1}{\frac{2 \cdot a}{\sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} - b}}\\
\mathbf{if}\;b \le 6.844885804288013 \cdot 10^{-56}:\\
\;\;\;\;-\frac{c}{b}\\
\mathbf{if}\;b \le 2.345202142130803 \cdot 10^{-14}:\\
\;\;\;\;\frac{\left(-b\right) + \sqrt{b \cdot b - c \cdot \left(a \cdot 4\right)}}{2 \cdot a}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}}\]