\frac{x + 1}{1 - x}\frac{x + 1}{1 - x}double f(double x) {
double r30892 = x;
double r30893 = 1.0;
double r30894 = r30892 + r30893;
double r30895 = r30893 - r30892;
double r30896 = r30894 / r30895;
return r30896;
}
double f(double x) {
double r30897 = x;
double r30898 = 1.0;
double r30899 = r30897 + r30898;
double r30900 = r30898 - r30897;
double r30901 = r30899 / r30900;
return r30901;
}



Bits error versus x
Results
Initial program 0.0
Simplified0.0
rmApplied clear-num0.0
rmApplied *-un-lft-identity0.0
Applied *-un-lft-identity0.0
Applied times-frac0.0
Applied add-cube-cbrt0.0
Applied times-frac0.0
Simplified0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019194 +o rules:numerics
(FPCore (x)
:name "Prelude:atanh from fay-base-0.20.0.1"
(/ (+ x 1.0) (- 1.0 x)))