| Alternative 1 |
|---|
| Error | 34.96% |
|---|
| Cost | 984 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq -1.25 \cdot 10^{-86}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq -1.6 \cdot 10^{-203}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq -4.8 \cdot 10^{-227}:\\
\;\;\;\;x + x\\
\mathbf{elif}\;x \leq 2.8 \cdot 10^{-137}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;x \leq 2:\\
\;\;\;\;x + x\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 6.75% |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0014 \lor \neg \left(x \leq 20500000000\right):\\
\;\;\;\;x \cdot \left(x + 2\right)\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 1.77% |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2 \lor \neg \left(x \leq 0.00024\right):\\
\;\;\;\;y \cdot y + x \cdot x\\
\mathbf{else}:\\
\;\;\;\;y \cdot y + x \cdot 2\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 15.15% |
|---|
| Cost | 584 |
|---|
\[\begin{array}{l}
\mathbf{if}\;y \leq -1.15 \cdot 10^{-46}:\\
\;\;\;\;y \cdot y\\
\mathbf{elif}\;y \leq 8 \cdot 10^{-36}:\\
\;\;\;\;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 | 38.44% |
|---|
| Cost | 456 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -400:\\
\;\;\;\;x \cdot x\\
\mathbf{elif}\;x \leq 135000000000:\\
\;\;\;\;y \cdot y\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]