| Alternative 1 | |
|---|---|
| Error | 6.9 |
| Cost | 38244 |
\[\begin{array}{l}
t_0 := \frac{-b}{a}\\
t_1 := c \cdot \frac{-2}{b + b}\\
t_2 := \sqrt{b \cdot b - \left(4 \cdot a\right) \cdot c}\\
t_3 := \frac{\left(-b\right) + t_2}{2 \cdot a}\\
t_4 := \begin{array}{l}
\mathbf{if}\;b \geq 0:\\
\;\;\;\;\frac{2 \cdot c}{\left(-b\right) - t_2}\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}\\
\mathbf{if}\;t_4 \leq -\infty:\\
\;\;\;\;\begin{array}{l}
\mathbf{if}\;b \geq 0:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}\\
\mathbf{elif}\;t_4 \leq -4 \cdot 10^{-187}:\\
\;\;\;\;t_4\\
\mathbf{elif}\;t_4 \leq 0:\\
\;\;\;\;\begin{array}{l}
\mathbf{if}\;b \geq 0:\\
\;\;\;\;\frac{2 \cdot c}{\left(-b\right) - b}\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}\\
\mathbf{elif}\;t_4 \leq 10^{+279}:\\
\;\;\;\;\begin{array}{l}
\mathbf{if}\;b \geq 0:\\
\;\;\;\;\frac{2 \cdot c}{\left(b - \sqrt{b \cdot b + c \cdot \left(a \cdot -4\right)}\right) + b \cdot -2}\\
\mathbf{else}:\\
\;\;\;\;t_3\\
\end{array}\\
\mathbf{elif}\;b \geq 0:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;\frac{c}{b} + t_0\\
\end{array}
\]