\frac{x}{1 + \sqrt{x + 1}}
\frac{x}{\mathsf{fma}\left(1, 1, \sqrt{x + 1}\right)}
(FPCore (x) :precision binary64 (/ x (+ 1.0 (sqrt (+ x 1.0)))))
(FPCore (x) :precision binary64 (/ x (fma 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 / fma(1.0, 1.0, sqrt(x + 1.0));
}



Bits error versus x
Initial program 0.2
Applied add-sqr-sqrt_binary640.2
Applied fma-def_binary640.2
Final simplification0.2
herbie shell --seed 2022088
(FPCore (x)
:name "Numeric.Log:$clog1p from log-domain-0.10.2.1, B"
:precision binary64
(/ x (+ 1.0 (sqrt (+ x 1.0)))))