| Alternative 1 |
|---|
| Error | 35.58% |
|---|
| Cost | 984 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq -5.5 \cdot 10^{-137}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq -6 \cdot 10^{-247}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq 3.8 \cdot 10^{-301}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq 3 \cdot 10^{-100}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq 2:\\
\;\;\;\;x + x\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 5.67% |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.25 \cdot 10^{-13} \lor \neg \left(x \leq 0.00029\right):\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 1.96% |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2 \lor \neg \left(x \leq 1.8 \cdot 10^{-8}\right):\\
\;\;\;\;y \cdot y + x \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 15.78% |
|---|
| Cost | 584 |
|---|
\[\begin{array}{l}
\mathbf{if}\;y \leq -1.7 \cdot 10^{-23}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;y \leq 1.9 \cdot 10^{-7}:\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot y\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 0.02% |
|---|
| Cost | 576 |
|---|
\[y \cdot y + x \cdot \left(x + 2\right)
\]
| Alternative 6 |
|---|
| Error | 37.95% |
|---|
| Cost | 456 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -1400000:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq 5400000000:\\
\;\;\;\;y \cdot y\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]