\frac{1}{x + 1} - \frac{1}{x - 1}1 \cdot \frac{\frac{1 \cdot -2}{x + 1}}{x - 1}double f(double x) {
double r105387 = 1.0;
double r105388 = x;
double r105389 = r105388 + r105387;
double r105390 = r105387 / r105389;
double r105391 = r105388 - r105387;
double r105392 = r105387 / r105391;
double r105393 = r105390 - r105392;
return r105393;
}
double f(double x) {
double r105394 = 1.0;
double r105395 = -2.0;
double r105396 = r105394 * r105395;
double r105397 = x;
double r105398 = r105397 + r105394;
double r105399 = r105396 / r105398;
double r105400 = r105397 - r105394;
double r105401 = r105399 / r105400;
double r105402 = r105394 * r105401;
return r105402;
}



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))))