- Split input into 4 regimes
if (- b) < -1.078587196574588e+136
Initial program 61.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied flip-+61.5
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} \cdot \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{2 \cdot a}\]
Applied simplify36.1
\[\leadsto \frac{\frac{\color{blue}{\left(c \cdot a\right) \cdot 4}}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{2 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity36.1
\[\leadsto \frac{\color{blue}{1 \cdot \frac{\left(c \cdot a\right) \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{2 \cdot a}\]
Applied times-frac36.1
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{\frac{\left(c \cdot a\right) \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{a}}\]
Applied simplify35.3
\[\leadsto \frac{1}{2} \cdot \color{blue}{\frac{c \cdot \left(1 \cdot 4\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}}\]
Taylor expanded around inf 6.7
\[\leadsto \frac{1}{2} \cdot \frac{c \cdot \left(1 \cdot 4\right)}{\color{blue}{2 \cdot \frac{c \cdot a}{b} - 2 \cdot b}}\]
Applied simplify2.0
\[\leadsto \color{blue}{\frac{\frac{c \cdot 4}{2 \cdot 2}}{\frac{c}{\frac{b}{a}} - b}}\]
if -1.078587196574588e+136 < (- b) < -2.8432650981668703e-263
Initial program 35.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied flip-+35.4
\[\leadsto \frac{\color{blue}{\frac{\left(-b\right) \cdot \left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)} \cdot \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{2 \cdot a}\]
Applied simplify15.8
\[\leadsto \frac{\frac{\color{blue}{\left(c \cdot a\right) \cdot 4}}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{2 \cdot a}\]
- Using strategy
rm Applied *-un-lft-identity15.8
\[\leadsto \frac{\color{blue}{1 \cdot \frac{\left(c \cdot a\right) \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}{2 \cdot a}\]
Applied times-frac15.8
\[\leadsto \color{blue}{\frac{1}{2} \cdot \frac{\frac{\left(c \cdot a\right) \cdot 4}{\left(-b\right) - \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}{a}}\]
Applied simplify7.5
\[\leadsto \frac{1}{2} \cdot \color{blue}{\frac{c \cdot \left(1 \cdot 4\right)}{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}}}\]
if -2.8432650981668703e-263 < (- b) < 1.3499173163480783e+79
Initial program 9.7
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num9.9
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied simplify9.8
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b}}}\]
if 1.3499173163480783e+79 < (- b)
Initial program 41.5
\[\frac{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}{2 \cdot a}\]
- Using strategy
rm Applied clear-num41.6
\[\leadsto \color{blue}{\frac{1}{\frac{2 \cdot a}{\left(-b\right) + \sqrt{b \cdot b - 4 \cdot \left(a \cdot c\right)}}}}\]
Applied simplify41.6
\[\leadsto \frac{1}{\color{blue}{\frac{a \cdot 2}{\sqrt{b \cdot b - a \cdot \left(c \cdot 4\right)} - b}}}\]
Taylor expanded around -inf 10.3
\[\leadsto \frac{1}{\frac{a \cdot 2}{\color{blue}{\left(2 \cdot \frac{c \cdot a}{b} - b\right)} - b}}\]
Applied simplify4.6
\[\leadsto \color{blue}{\frac{\frac{2 \cdot c}{\frac{b}{a}} - \left(b + b\right)}{2 \cdot a}}\]
- Recombined 4 regimes into one program.
Applied simplify6.6
\[\leadsto \color{blue}{\begin{array}{l}
\mathbf{if}\;-b \le -1.078587196574588 \cdot 10^{+136}:\\
\;\;\;\;\frac{\frac{4 \cdot c}{2 \cdot 2}}{\frac{c}{\frac{b}{a}} - b}\\
\mathbf{if}\;-b \le -2.8432650981668703 \cdot 10^{-263}:\\
\;\;\;\;\frac{4 \cdot c}{\left(-b\right) - \sqrt{b \cdot b - \left(a \cdot c\right) \cdot 4}} \cdot \frac{1}{2}\\
\mathbf{if}\;-b \le 1.3499173163480783 \cdot 10^{+79}:\\
\;\;\;\;\frac{1}{\frac{a \cdot 2}{\sqrt{b \cdot b - \left(4 \cdot c\right) \cdot a} - b}}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{2 \cdot c}{\frac{b}{a}} - \left(b + b\right)}{a \cdot 2}\\
\end{array}}\]