\frac{x + 1}{1 - x}\frac{x + 1}{1 - x}(FPCore (x) :precision binary64 (/ (+ x 1.0) (- 1.0 x)))
(FPCore (x) :precision binary64 (/ (+ x 1.0) (- 1.0 x)))
double code(double x) {
return (x + 1.0) / (1.0 - x);
}
double code(double x) {
return (x + 1.0) / (1.0 - x);
}






Bits error versus x
Results
| Alternative 1 | |
|---|---|
| Accuracy | 0.0 |
| Cost | 640 |
| Alternative 2 | |
|---|---|
| Accuracy | 0.1 |
| Cost | 1664 |
| Alternative 3 | |
|---|---|
| Accuracy | 32.2 |
| Cost | 1088 |
Initial program 0.0
rmApplied pow1_binary64_8210.0
Final simplification0.0
herbie shell --seed 2020322
(FPCore (x)
:name "Prelude:atanh from fay-base-0.20.0.1"
:precision binary64
(/ (+ x 1.0) (- 1.0 x)))