\frac{x + 1}{1 - x}\frac{x + 1}{1 - x}double f(double x) {
double r28322 = x;
double r28323 = 1.0;
double r28324 = r28322 + r28323;
double r28325 = r28323 - r28322;
double r28326 = r28324 / r28325;
return r28326;
}
double f(double x) {
double r28327 = x;
double r28328 = 1.0;
double r28329 = r28327 + r28328;
double r28330 = r28328 - r28327;
double r28331 = r28329 / r28330;
return r28331;
}



Bits error versus x
Results
Initial program 0.0
rmApplied expm1-log1p-u1.0
rmApplied expm1-log1p0.0
Final simplification0.0
herbie shell --seed 2020060 +o rules:numerics
(FPCore (x)
:name "Prelude:atanh from fay-base-0.20.0.1"
:precision binary64
(/ (+ x 1) (- 1 x)))