| Alternative 1 |
|---|
| Error | 14.8 |
|---|
| Cost | 10020 |
|---|
\[\begin{array}{l}
t_0 := 0.5 \cdot \frac{1}{x}\\
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left(\left|x\right| + \left(-x\right)\right) - t_0\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(t_0 + \left(\left|x\right| + x\right)\right), x\right)\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 14.9 |
|---|
| Cost | 9988 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(0.5 \cdot \frac{1}{x} + x\right)\right), x\right)\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 14.9 |
|---|
| Cost | 9988 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\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 4 |
|---|
| Error | 14.9 |
|---|
| Cost | 9828 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| + \left(-x\right)\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\left(0 - \left(-1 - \log \left(\frac{0.5}{x}\right)\right)\right) - 1, x\right)\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 17.7 |
|---|
| Cost | 9796 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq 1:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right| - -1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\frac{0.5}{x}\right), x\right)\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 19.0 |
|---|
| Cost | 9732 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq 0.5:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\left|x\right|\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\log \left(\frac{0.5}{x}\right), x\right)\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 19.0 |
|---|
| Cost | 6820 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(-\left(\left(0 - \left(-1 - \log \left(\frac{-1}{x}\right)\right)\right) - 1\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\left(0 - \left(-1 - \log \left(\frac{0.5}{x}\right)\right)\right) - 1, x\right)\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 19.0 |
|---|
| Cost | 6788 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\mathsf{copysign}\left(-\log \left(\frac{-1}{x}\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{copysign}\left(\left(0 - \left(-1 - \log \left(\frac{0.5}{x}\right)\right)\right) - 1, x\right)\\
\end{array}
\]
| Alternative 9 |
|---|
| Error | 19.0 |
|---|
| Cost | 6628 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2.0000000102211272 \cdot 10^{-38}:\\
\;\;\;\;\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 10 |
|---|
| Error | 23.3 |
|---|
| Cost | 6528 |
|---|
\[\mathsf{copysign}\left(\log \left(\frac{0.5}{x}\right), x\right)
\]
| Alternative 11 |
|---|
| Error | 27.6 |
|---|
| Cost | 6464 |
|---|
\[\mathsf{copysign}\left(\log x, x\right)
\]