\frac{x}{1 + \sqrt{x + 1}}\frac{x}{1 + \sqrt{x + 1}}double f(double x) {
double r96586 = x;
double r96587 = 1.0;
double r96588 = r96586 + r96587;
double r96589 = sqrt(r96588);
double r96590 = r96587 + r96589;
double r96591 = r96586 / r96590;
return r96591;
}
double f(double x) {
double r96592 = x;
double r96593 = 1.0;
double r96594 = r96592 + r96593;
double r96595 = sqrt(r96594);
double r96596 = r96593 + r96595;
double r96597 = r96592 / r96596;
return r96597;
}



Bits error versus x
Results
if x < 2.653971370452548e-23Initial program 0.0
rmApplied add-cbrt-cube0.0
Simplified0.0
if 2.653971370452548e-23 < x Initial program 0.5
rmApplied add-cbrt-cube19.8
Simplified19.8
rmApplied *-un-lft-identity19.8
Applied unpow-prod-down19.8
Applied cbrt-prod19.8
Applied add-sqr-sqrt19.7
Applied times-frac19.7
Simplified19.7
Simplified0.1
Final simplification0.2
herbie shell --seed 2019304
(FPCore (x)
:name "Numeric.Log:$clog1p from log-domain-0.10.2.1, B"
:precision binary64
(/ x (+ 1 (sqrt (+ x 1)))))