\frac{1}{x + 1} - \frac{1}{x - 1}1 \cdot \frac{\frac{1 \cdot -2}{x + 1}}{x - 1}double f(double x) {
double r93553 = 1.0;
double r93554 = x;
double r93555 = r93554 + r93553;
double r93556 = r93553 / r93555;
double r93557 = r93554 - r93553;
double r93558 = r93553 / r93557;
double r93559 = r93556 - r93558;
return r93559;
}
double f(double x) {
double r93560 = 1.0;
double r93561 = -2.0;
double r93562 = r93560 * r93561;
double r93563 = x;
double r93564 = r93563 + r93560;
double r93565 = r93562 / r93564;
double r93566 = r93563 - r93560;
double r93567 = r93565 / r93566;
double r93568 = r93560 * r93567;
return r93568;
}



Bits error versus x
Results
Initial program 14.3
rmApplied flip--29.0
Applied associate-/r/29.0
Applied flip-+14.3
Applied associate-/r/14.3
Applied distribute-lft-out--13.7
rmApplied associate--r+11.8
Simplified0.3
rmApplied div-inv0.3
Applied associate-*l*0.3
Simplified0.1
Final simplification0.1
herbie shell --seed 2019303 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
:precision binary64
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))