| Alternative 1 |
|---|
| Error | 0.19% |
|---|
| Cost | 13248 |
|---|
\[z \cdot \sin y + x \cdot \cos y
\]
| Alternative 2 |
|---|
| Error | 26.88% |
|---|
| Cost | 7516 |
|---|
\[\begin{array}{l}
t_0 := x \cdot \cos y\\
t_1 := z \cdot \sin y\\
t_2 := x + y \cdot z\\
\mathbf{if}\;z \leq -3.5 \cdot 10^{+185}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.8 \cdot 10^{+138}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq -1.25 \cdot 10^{+107}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{+42}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq -2.55 \cdot 10^{+31}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -5.5 \cdot 10^{-13}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+66}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 27.04% |
|---|
| Cost | 7516 |
|---|
\[\begin{array}{l}
t_0 := x \cdot \cos y\\
t_1 := z \cdot \sin y\\
\mathbf{if}\;z \leq -1.02 \cdot 10^{+183}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -1.6 \cdot 10^{+138}:\\
\;\;\;\;x + y \cdot z\\
\mathbf{elif}\;z \leq -3.2 \cdot 10^{+117}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -3.9 \cdot 10^{+40}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq -7 \cdot 10^{+29}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -5.8 \cdot 10^{-13}:\\
\;\;\;\;\mathsf{fma}\left(z, y, x\right)\\
\mathbf{elif}\;z \leq 4.5 \cdot 10^{+65}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 13.83% |
|---|
| Cost | 6985 |
|---|
\[\begin{array}{l}
\mathbf{if}\;z \leq -3.5 \cdot 10^{-15} \lor \neg \left(z \leq 2.95 \cdot 10^{-92}\right):\\
\;\;\;\;x + z \cdot \sin y\\
\mathbf{else}:\\
\;\;\;\;x \cdot \cos y\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 25.66% |
|---|
| Cost | 6857 |
|---|
\[\begin{array}{l}
\mathbf{if}\;y \leq -14 \lor \neg \left(y \leq 0.0195\right):\\
\;\;\;\;z \cdot \sin y\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot z\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 59.49% |
|---|
| Cost | 456 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -7.2 \cdot 10^{-117}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 1.02 \cdot 10^{-297}:\\
\;\;\;\;y \cdot z\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]