\frac{1}{x + 1} - \frac{1}{x - 1}\frac{-2}{-1 + x \cdot x}double f(double x) {
double r3683179 = 1.0;
double r3683180 = x;
double r3683181 = r3683180 + r3683179;
double r3683182 = r3683179 / r3683181;
double r3683183 = r3683180 - r3683179;
double r3683184 = r3683179 / r3683183;
double r3683185 = r3683182 - r3683184;
return r3683185;
}
double f(double x) {
double r3683186 = -2.0;
double r3683187 = -1.0;
double r3683188 = x;
double r3683189 = r3683188 * r3683188;
double r3683190 = r3683187 + r3683189;
double r3683191 = r3683186 / r3683190;
return r3683191;
}



Bits error versus x
Results
Initial program 14.6
rmApplied frac-sub13.9
Simplified13.9
Simplified13.9
rmApplied *-un-lft-identity13.9
Applied associate-/r*13.9
Simplified0.4
Final simplification0.4
herbie shell --seed 2019152
(FPCore (x)
:name "Asymptote A"
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))