\frac{1}{x + 1} - \frac{1}{x - 1}\begin{array}{l}
\mathbf{if}\;x \le -207.49900421996719 \lor \neg \left(x \le 234.24057061613541\right):\\
\;\;\;\;\frac{-2}{{x}^{6}} - \mathsf{fma}\left(2, {x}^{\left(-2\right)}, 2 \cdot \frac{1}{{x}^{4}}\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(1, 1 - x, {x}^{2}\right), \frac{1}{{x}^{3} + {1}^{3}}, \frac{-{\left(\sqrt[3]{1}\right)}^{3}}{x - 1}\right) + \left(\frac{{\left(\sqrt[3]{1}\right)}^{3}}{1 \cdot \left(x - 1\right)} + \frac{-{\left(\sqrt[3]{1}\right)}^{3}}{x - 1}\right)\\
\end{array}double code(double x) {
return ((1.0 / (x + 1.0)) - (1.0 / (x - 1.0)));
}
double code(double x) {
double VAR;
if (((x <= -207.4990042199672) || !(x <= 234.24057061613541))) {
VAR = ((-2.0 / pow(x, 6.0)) - fma(2.0, pow(x, -2.0), (2.0 * (1.0 / pow(x, 4.0)))));
} else {
VAR = (fma(fma(1.0, (1.0 - x), pow(x, 2.0)), (1.0 / (pow(x, 3.0) + pow(1.0, 3.0))), (-pow(cbrt(1.0), 3.0) / (x - 1.0))) + ((pow(cbrt(1.0), 3.0) / (1.0 * (x - 1.0))) + (-pow(cbrt(1.0), 3.0) / (x - 1.0))));
}
return VAR;
}



Bits error versus x
Results
if x < -207.4990042199672 or 234.24057061613541 < x Initial program 28.9
Taylor expanded around inf 0.9
Simplified0.9
rmApplied pow-flip0.0
if -207.4990042199672 < x < 234.24057061613541Initial program 0.0
rmApplied *-un-lft-identity0.0
Applied add-cube-cbrt0.0
Applied times-frac0.0
Applied flip3-+0.0
Applied associate-/r/0.0
Applied prod-diff0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020078 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
:precision binary64
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))