| Alternative 1 |
|---|
| Error | 12.6 |
|---|
| Cost | 39240 |
|---|
\[\begin{array}{l}
t_0 := \mathsf{copysign}\left(\log \left(\left|x\right| + \sqrt{x \cdot x + 1}\right), x\right)\\
\mathbf{if}\;t_0 \leq -\infty:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\right), x\right)\\
\mathbf{elif}\;t_0 \leq 5:\\
\;\;\;\;t_0\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(0.5 \cdot \frac{1}{x} + \left(\left|x\right| + x\right)\right), x\right)\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 13.5 |
|---|
| Cost | 10056 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\right), x\right)\\
\mathbf{elif}\;x \leq 0.019999999552965164:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| - -1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(0.5 \cdot \frac{1}{x} + \left(\left|x\right| + x\right)\right), x\right)\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 13.4 |
|---|
| Cost | 10056 |
|---|
\[\begin{array}{l}
t_0 := 0.5 \cdot \frac{1}{x}\\
\mathbf{if}\;x \leq -0.5:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left(\left|x\right| + \left(-x\right)\right) - t_0\right), x\right)\\
\mathbf{elif}\;x \leq 0.019999999552965164:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| - -1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(t_0 + \left(\left|x\right| + x\right)\right), x\right)\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 13.6 |
|---|
| Cost | 9864 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\right), x\right)\\
\mathbf{elif}\;x \leq 0.019999999552965164:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| - -1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + x\right), x\right)\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 19.1 |
|---|
| Cost | 9796 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -9.999999350456404 \cdot 10^{-39}:\\
\;\;\;\;\mathsf{copysign}\left(-\log \left(\frac{-1}{x}\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + x\right), x\right)\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 17.8 |
|---|
| Cost | 9796 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq 0.019999999552965164:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| - -1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + x\right), x\right)\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 19.0 |
|---|
| Cost | 6628 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -9.999999350456404 \cdot 10^{-39}:\\
\;\;\;\;\mathsf{copysign}\left(-\log \left(\frac{-1}{x}\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\frac{0.5}{x}\right), x\right)\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 23.4 |
|---|
| Cost | 6528 |
|---|
\[\mathsf{copysign}\left(\log \left(\frac{0.5}{x}\right), x\right)
\]
| Alternative 9 |
|---|
| Error | 27.6 |
|---|
| Cost | 6464 |
|---|
\[\mathsf{copysign}\left(\log x, x\right)
\]