\frac{10}{1 - x \cdot x}
\frac{10}{\mathsf{log1p}\left(\mathsf{expm1}\left(1 - x \cdot x\right)\right) + \mathsf{fma}\left(-x, x, x \cdot x\right)}
(FPCore (x) :precision binary64 (/ 10.0 (- 1.0 (* x x))))
(FPCore (x) :precision binary64 (/ 10.0 (+ (log1p (expm1 (- 1.0 (* x x)))) (fma (- x) x (* x x)))))
double code(double x) {
return 10.0 / (1.0 - (x * x));
}
double code(double x) {
return 10.0 / (log1p(expm1((1.0 - (x * x)))) + fma(-x, x, (x * x)));
}



Bits error versus x
Initial program 7.9
Applied egg-rr0.3
Applied egg-rr0.4
Applied egg-rr0.3
Applied egg-rr0.3
Final simplification0.3
herbie shell --seed 2022127
(FPCore (x)
:name "ENA, Section 1.4, Mentioned, B"
:precision binary64
:pre (and (<= 0.999 x) (<= x 1.001))
(/ 10.0 (- 1.0 (* x x))))