\frac{1}{x + 1} - \frac{1}{x - 1}\frac{\frac{\left(-{\left(\sqrt[3]{1}\right)}^{3}\right) \cdot 2}{x + 1}}{x - 1}double f(double x) {
double r123440 = 1.0;
double r123441 = x;
double r123442 = r123441 + r123440;
double r123443 = r123440 / r123442;
double r123444 = r123441 - r123440;
double r123445 = r123440 / r123444;
double r123446 = r123443 - r123445;
return r123446;
}
double f(double x) {
double r123447 = 1.0;
double r123448 = cbrt(r123447);
double r123449 = 3.0;
double r123450 = pow(r123448, r123449);
double r123451 = -r123450;
double r123452 = 2.0;
double r123453 = r123451 * r123452;
double r123454 = x;
double r123455 = r123454 + r123447;
double r123456 = r123453 / r123455;
double r123457 = r123454 - r123447;
double r123458 = r123456 / r123457;
return r123458;
}



Bits error versus x
Results
Initial program 15.0
rmApplied flip--29.3
Applied associate-/r/29.3
Applied flip-+15.1
Applied associate-/r/15.1
Applied distribute-lft-out--14.4
rmApplied difference-of-squares14.5
Applied add-cube-cbrt14.5
Applied times-frac14.5
Taylor expanded around 0 0.2
rmApplied associate-*r/0.1
Applied associate-*l/0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020064 +o rules:numerics
(FPCore (x)
:name "Asymptote A"
:precision binary64
(- (/ 1 (+ x 1)) (/ 1 (- x 1))))