| Alternative 1 |
|---|
| Error | 0.08% |
|---|
| Cost | 6848 |
|---|
\[\mathsf{fma}\left(x, y, z \cdot \left(5 + x\right)\right)
\]
| Alternative 2 |
|---|
| Error | 1.58% |
|---|
| Cost | 713 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -58000000000 \lor \neg \left(x \leq 5\right):\\
\;\;\;\;x \cdot \left(z + y\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot y + z \cdot 5\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 1.58% |
|---|
| Cost | 712 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -58000000000:\\
\;\;\;\;x \cdot y + z \cdot x\\
\mathbf{elif}\;x \leq 5:\\
\;\;\;\;x \cdot y + z \cdot 5\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(z + y\right)\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 24.47% |
|---|
| Cost | 585 |
|---|
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.4 \cdot 10^{-97} \lor \neg \left(z \leq 2.6 \cdot 10^{-128}\right):\\
\;\;\;\;z \cdot \left(5 + x\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot y\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 20.61% |
|---|
| Cost | 585 |
|---|
\[\begin{array}{l}
\mathbf{if}\;z \leq -1.16 \cdot 10^{-96} \lor \neg \left(z \leq 1.3 \cdot 10^{-99}\right):\\
\;\;\;\;z \cdot \left(5 + x\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(z + y\right)\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 0.09% |
|---|
| Cost | 576 |
|---|
\[z \cdot 5 + x \cdot \left(z + y\right)
\]
| Alternative 7 |
|---|
| Error | 0.09% |
|---|
| Cost | 576 |
|---|
\[x \cdot y + z \cdot \left(5 + x\right)
\]
| Alternative 8 |
|---|
| Error | 39.39% |
|---|
| Cost | 456 |
|---|
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.5 \cdot 10^{-123}:\\
\;\;\;\;z \cdot 5\\
\mathbf{elif}\;z \leq 7.5 \cdot 10^{-104}:\\
\;\;\;\;x \cdot y\\
\mathbf{else}:\\
\;\;\;\;z \cdot 5\\
\end{array}
\]