| Alternative 1 |
|---|
| Error | 2.2 |
|---|
| Cost | 7432 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -1.25 \cdot 10^{-5}:\\
\;\;\;\;-1 + \left(4 \cdot \left(b \cdot b\right) + {b}^{4}\right)\\
\mathbf{elif}\;b \leq 1.3:\\
\;\;\;\;-1 + {a}^{4}\\
\mathbf{else}:\\
\;\;\;\;{b}^{4} + 2 \cdot \left(\left(b \cdot b\right) \cdot \left(a \cdot a\right)\right)\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 0.2 |
|---|
| Cost | 7424 |
|---|
\[-1 + \left({\left(b \cdot b + a \cdot a\right)}^{2} + 4 \cdot \left(b \cdot b\right)\right)
\]
| Alternative 3 |
|---|
| Error | 1.8 |
|---|
| Cost | 7300 |
|---|
\[\begin{array}{l}
\mathbf{if}\;a \cdot a \leq 5 \cdot 10^{-17}:\\
\;\;\;\;-1 + \left(4 \cdot \left(b \cdot b\right) + {b}^{4}\right)\\
\mathbf{else}:\\
\;\;\;\;-1 + {a}^{4}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 2.2 |
|---|
| Cost | 7108 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -9.2 \cdot 10^{-6}:\\
\;\;\;\;-1 + b \cdot \left(b \cdot \mathsf{fma}\left(b, b, 4\right)\right)\\
\mathbf{elif}\;b \leq 3.6:\\
\;\;\;\;-1 + {a}^{4}\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b + \left(a \cdot a\right) \cdot 2\right)\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 2.2 |
|---|
| Cost | 6920 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -9.2 \cdot 10^{-6}:\\
\;\;\;\;-1 + \left(4 \cdot \left(b \cdot b\right) + \left(b \cdot b\right) \cdot \left(b \cdot b\right)\right)\\
\mathbf{elif}\;b \leq 5.4:\\
\;\;\;\;-1 + {a}^{4}\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b + \left(a \cdot a\right) \cdot 2\right)\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 2.3 |
|---|
| Cost | 1096 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -1.25 \cdot 10^{-5}:\\
\;\;\;\;-1 + \left(b \cdot b\right) \cdot \left(4 + b \cdot b\right)\\
\mathbf{elif}\;b \leq 7.8:\\
\;\;\;\;-1 + \left(a \cdot a\right) \cdot \left(a \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b + \left(a \cdot a\right) \cdot 2\right)\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 2.3 |
|---|
| Cost | 1096 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -9.2 \cdot 10^{-6}:\\
\;\;\;\;-1 + \left(4 \cdot \left(b \cdot b\right) + \left(b \cdot b\right) \cdot \left(b \cdot b\right)\right)\\
\mathbf{elif}\;b \leq 1.92:\\
\;\;\;\;-1 + \left(a \cdot a\right) \cdot \left(a \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b + \left(a \cdot a\right) \cdot 2\right)\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 1.9 |
|---|
| Cost | 964 |
|---|
\[\begin{array}{l}
\mathbf{if}\;a \cdot a \leq 6 \cdot 10^{-15}:\\
\;\;\;\;-1 + \left(b \cdot b\right) \cdot \left(4 + b \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;-1 + \left(a \cdot a\right) \cdot \left(a \cdot a\right)\\
\end{array}
\]
| Alternative 9 |
|---|
| Error | 2.7 |
|---|
| Cost | 841 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -3.3 \lor \neg \left(b \leq 1.42\right):\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;-1 + \left(a \cdot a\right) \cdot \left(a \cdot a\right)\\
\end{array}
\]
| Alternative 10 |
|---|
| Error | 12.6 |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;b \leq -1.95 \lor \neg \left(b \leq 0.00038\right):\\
\;\;\;\;\left(b \cdot b\right) \cdot \left(b \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;-1 + b \cdot \left(b \cdot 4\right)\\
\end{array}
\]
| Alternative 11 |
|---|
| Error | 51.7 |
|---|
| Cost | 448 |
|---|
\[\left(b \cdot b\right) \cdot \left(b \cdot b\right)
\]