\sqrt{x - 1} \cdot \sqrt{x}{\left(x - 1\right)}^{0.25} \cdot \left({\left(x - 1\right)}^{0.25} \cdot \sqrt{x}\right)(FPCore (x) :precision binary64 (* (sqrt (- x 1.0)) (sqrt x)))
(FPCore (x) :precision binary64 (* (pow (- x 1.0) 0.25) (* (pow (- x 1.0) 0.25) (sqrt x))))
double code(double x) {
return sqrt(x - 1.0) * sqrt(x);
}
double code(double x) {
return pow((x - 1.0), 0.25) * (pow((x - 1.0), 0.25) * sqrt(x));
}



Bits error versus x
Results
Initial program 0.5
rmApplied add-sqr-sqrt_binary640.7
Applied associate-*l*_binary640.7
Simplified0.7
rmApplied pow1/2_binary640.7
Applied sqrt-pow1_binary640.6
Simplified0.6
rmApplied pow1/2_binary640.6
Applied sqrt-pow1_binary640.6
Simplified0.6
Final simplification0.6
herbie shell --seed 2020344
(FPCore (x)
:name "sqrt times"
:precision binary64
(* (sqrt (- x 1.0)) (sqrt x)))