| Alternative 1 |
|---|
| Error | 0.0 |
|---|
| Cost | 19392 |
|---|
\[\mathsf{expm1}\left(\mathsf{log1p}\left(\frac{1}{\cosh x}\right)\right)
\]
| Alternative 2 |
|---|
| Error | 0.0 |
|---|
| Cost | 19392 |
|---|
\[{\left({\cosh x}^{-0.5}\right)}^{2}
\]
| Alternative 4 |
|---|
| Error | 0.9 |
|---|
| Cost | 1096 |
|---|
\[\begin{array}{l}
t_0 := \left(1 + \frac{2}{x \cdot x}\right) + -1\\
\mathbf{if}\;x \leq -1.5:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.46:\\
\;\;\;\;1 + \left(x \cdot x\right) \cdot \left(-0.5 + x \cdot \left(x \cdot 0.20833333333333334\right)\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 0.9 |
|---|
| Cost | 840 |
|---|
\[\begin{array}{l}
t_0 := \left(1 + \frac{2}{x \cdot x}\right) + -1\\
\mathbf{if}\;x \leq -5200000:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 132000000:\\
\;\;\;\;\frac{2}{2 + x \cdot x}\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 14.9 |
|---|
| Cost | 712 |
|---|
\[\begin{array}{l}
t_0 := \frac{2}{x \cdot x}\\
\mathbf{if}\;x \leq -1.25:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.25:\\
\;\;\;\;1 + -0.5 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 15.1 |
|---|
| Cost | 584 |
|---|
\[\begin{array}{l}
t_0 := \frac{2}{x \cdot x}\\
\mathbf{if}\;x \leq -1.42:\\
\;\;\;\;t_0\\
\mathbf{elif}\;x \leq 1.4:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;t_0\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 14.9 |
|---|
| Cost | 448 |
|---|
\[\frac{2}{2 + x \cdot x}
\]