| Alternative 1 |
|---|
| Error | 11.3 |
|---|
| Cost | 7368 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \cdot 0.5 \leq -1 \cdot 10^{-134}:\\
\;\;\;\;\mathsf{fma}\left(-z, y, x \cdot 0.5\right)\\
\mathbf{elif}\;x \cdot 0.5 \leq 2 \cdot 10^{-85}:\\
\;\;\;\;y \cdot \left(\left(1 + \log z\right) - z\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot 0.5 - z \cdot y\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 18.6 |
|---|
| Cost | 7312 |
|---|
\[\begin{array}{l}
t_0 := y \cdot \left(1 + \log z\right)\\
t_1 := x \cdot 0.5 - z \cdot y\\
\mathbf{if}\;z \leq 1.1 \cdot 10^{-244}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 1.65 \cdot 10^{-223}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq 1.95 \cdot 10^{-182}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 1.85 \cdot 10^{-32}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-z, y, x \cdot 0.5\right)\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 18.6 |
|---|
| Cost | 7248 |
|---|
\[\begin{array}{l}
t_0 := y \cdot \left(1 + \log z\right)\\
t_1 := x \cdot 0.5 - z \cdot y\\
\mathbf{if}\;z \leq 6.4 \cdot 10^{-246}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 3.1 \cdot 10^{-224}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq 7.6 \cdot 10^{-182}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq 1.16 \cdot 10^{-32}:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 0.9 |
|---|
| Cost | 7108 |
|---|
\[\begin{array}{l}
\mathbf{if}\;z \leq 0.28:\\
\;\;\;\;x \cdot 0.5 + y \cdot \left(1 + \log z\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-z, y, x \cdot 0.5\right)\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 0.1 |
|---|
| Cost | 7104 |
|---|
\[x \cdot 0.5 + \left(\left(1 - z\right) + \log z\right) \cdot y
\]
| Alternative 6 |
|---|
| Error | 29.6 |
|---|
| Cost | 652 |
|---|
\[\begin{array}{l}
t_0 := z \cdot \left(-y\right)\\
\mathbf{if}\;z \leq 1.2 \cdot 10^{+24}:\\
\;\;\;\;x \cdot 0.5\\
\mathbf{elif}\;z \leq 2 \cdot 10^{+207}:\\
\;\;\;\;t_0\\
\mathbf{elif}\;z \leq 10^{+219}:\\
\;\;\;\;x \cdot 0.5\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 18.5 |
|---|
| Cost | 448 |
|---|
\[x \cdot 0.5 - z \cdot y
\]