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