- Split input into 3 regimes
if b < -9.2206393300312e+145
Initial program 58.1
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Initial simplification58.1
\[\leadsto \frac{\sqrt{b \cdot b - \left(c \cdot a\right) \cdot 4} - b}{2 \cdot a}\]
Taylor expanded around -inf 2.2
\[\leadsto \color{blue}{\frac{c}{b} - \frac{b}{a}}\]
if -9.2206393300312e+145 < b < 1.5126665316535186e-110
Initial program 11.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Initial simplification11.3
\[\leadsto \frac{\sqrt{b \cdot b - \left(c \cdot a\right) \cdot 4} - b}{2 \cdot a}\]
Taylor expanded around -inf 11.3
\[\leadsto \frac{\sqrt{\color{blue}{{b}^{2} - 4 \cdot \left(a \cdot c\right)}} - b}{2 \cdot a}\]
if 1.5126665316535186e-110 < b
Initial program 51.3
\[\frac{\left(-b\right) + \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}}{2 \cdot a}\]
Initial simplification51.2
\[\leadsto \frac{\sqrt{b \cdot b - \left(c \cdot a\right) \cdot 4} - b}{2 \cdot a}\]
Taylor expanded around -inf 51.2
\[\leadsto \frac{\sqrt{\color{blue}{{b}^{2} - 4 \cdot \left(a \cdot c\right)}} - b}{2 \cdot a}\]
Taylor expanded around inf 10.9
\[\leadsto \color{blue}{-1 \cdot \frac{c}{b}}\]
Simplified10.9
\[\leadsto \color{blue}{\frac{-c}{b}}\]
- Recombined 3 regimes into one program.
Final simplification10.0
\[\leadsto \begin{array}{l}
\mathbf{if}\;b \le -9.2206393300312 \cdot 10^{+145}:\\
\;\;\;\;\frac{c}{b} - \frac{b}{a}\\
\mathbf{elif}\;b \le 1.5126665316535186 \cdot 10^{-110}:\\
\;\;\;\;\frac{\sqrt{{b}^{2} - \left(c \cdot a\right) \cdot 4} - b}{a \cdot 2}\\
\mathbf{else}:\\
\;\;\;\;-\frac{c}{b}\\
\end{array}\]