\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\sqrt{\sqrt[3]{{\left(1 + e^{x}\right)}^{3}}}(FPCore (x) :precision binary64 (sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))))
(FPCore (x) :precision binary64 (sqrt (cbrt (pow (+ 1.0 (exp x)) 3.0))))
double code(double x) {
return sqrt((exp(2.0 * x) - 1.0) / (exp(x) - 1.0));
}
double code(double x) {
return sqrt(cbrt(pow((1.0 + exp(x)), 3.0)));
}



Bits error versus x
Results
Initial program 41.3
Simplified0.0
rmApplied add-cbrt-cube_binary640.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2020355
(FPCore (x)
:name "sqrtexp (problem 3.4.4)"
:precision binary64
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))))