| Alternative 1 |
|---|
| Accuracy | 99.9% |
|---|
| Cost | 26436 |
|---|
\[\begin{array}{l}
t_0 := \left(e^{x} - 2\right) + e^{-x}\\
\mathbf{if}\;t_0 \leq 10^{-7}:\\
\;\;\;\;\mathsf{fma}\left(x, x, 0.08333333333333333 \cdot {x}^{4}\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 2 |
|---|
| Accuracy | 99.9% |
|---|
| Cost | 26436 |
|---|
\[\begin{array}{l}
t_0 := \left(e^{x} - 2\right) + e^{-x}\\
\mathbf{if}\;t_0 \leq 10^{-7}:\\
\;\;\;\;0.08333333333333333 \cdot {x}^{4} + x \cdot x\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 3 |
|---|
| Accuracy | 99.9% |
|---|
| Cost | 7177 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0056 \lor \neg \left(x \leq 0.0058\right):\\
\;\;\;\;2 \cdot \cosh x - 2\\
\mathbf{else}:\\
\;\;\;\;0.08333333333333333 \cdot {x}^{4} + x \cdot x\\
\end{array}
\]
| Alternative 4 |
|---|
| Accuracy | 99.8% |
|---|
| Cost | 6985 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.000205 \lor \neg \left(x \leq 0.0002\right):\\
\;\;\;\;2 \cdot \cosh x - 2\\
\mathbf{else}:\\
\;\;\;\;x \cdot x\\
\end{array}
\]
| Alternative 5 |
|---|
| Accuracy | 93.7% |
|---|
| Cost | 6788 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -3.45:\\
\;\;\;\;0.08333333333333333 \cdot {x}^{4}\\
\mathbf{elif}\;x \leq 1.65:\\
\;\;\;\;x \cdot x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{expm1}\left(x\right)\\
\end{array}
\]
| Alternative 6 |
|---|
| Accuracy | 87.9% |
|---|
| Cost | 6596 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq 1.65:\\
\;\;\;\;x \cdot x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{expm1}\left(x\right)\\
\end{array}
\]