\frac{1}{x + 1} - \frac{1}{x - 1}1 \cdot \frac{\frac{1 \cdot -2}{x + 1}}{x - 1}double f(double x) {
double r115980 = 1.0;
double r115981 = x;
double r115982 = r115981 + r115980;
double r115983 = r115980 / r115982;
double r115984 = r115981 - r115980;
double r115985 = r115980 / r115984;
double r115986 = r115983 - r115985;
return r115986;
}
double f(double x) {
double r115987 = 1.0;
double r115988 = -2.0;
double r115989 = r115987 * r115988;
double r115990 = x;
double r115991 = r115990 + r115987;
double r115992 = r115989 / r115991;
double r115993 = r115990 - r115987;
double r115994 = r115992 / r115993;
double r115995 = r115987 * r115994;
return r115995;
}



Bits error versus x
Results
Initial program 14.7
rmApplied flip--29.4
Applied associate-/r/29.4
Applied flip-+14.7
Applied associate-/r/14.7
Applied distribute-lft-out--14.1
rmApplied associate--r+12.2
Simplified0.4
rmApplied div-inv0.4
Applied associate-*l*0.4
Simplified0.1
Final simplification0.1
herbie shell --seed 2019323 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
:precision binary64
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))