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



Bits error versus x
Results
Initial program 0.2
rmApplied div-inv_binary640.2
Final simplification0.2
herbie shell --seed 2020232
(FPCore (x)
:name "Numeric.Log:$clog1p from log-domain-0.10.2.1, B"
:precision binary64
(/ x (+ 1.0 (sqrt (+ x 1.0)))))