| Alternative 1 |
|---|
| Error | 10.6 |
|---|
| Cost | 644 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\frac{-x}{s} \leq -5:\\
\;\;\;\;\frac{1}{\frac{-1}{s} \cdot \left(s \cdot -2\right)}\\
\mathbf{else}:\\
\;\;\;\;-1 + \left(1 - \frac{\frac{s}{x}}{1 + s \cdot \frac{-2}{x}}\right)\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 11.0 |
|---|
| Cost | 388 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\frac{-x}{s} \leq 0.5:\\
\;\;\;\;0.5\\
\mathbf{else}:\\
\;\;\;\;\left(1 - \frac{s}{x}\right) - 1\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 16.6 |
|---|
| Cost | 356 |
|---|
\[\begin{array}{l}
t_0 := \frac{-x}{s}\\
\mathbf{if}\;t_0 \leq 0.5:\\
\;\;\;\;0.5\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{t_0}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 17.1 |
|---|
| Cost | 228 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.00019999999494757503:\\
\;\;\;\;\frac{-1}{x} \cdot s\\
\mathbf{else}:\\
\;\;\;\;0.5\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 17.1 |
|---|
| Cost | 196 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.00019999999494757503:\\
\;\;\;\;-\frac{s}{x}\\
\mathbf{else}:\\
\;\;\;\;0.5\\
\end{array}
\]