\sqrt{\left(2 \cdot x\right) \cdot x}\left|\sqrt[3]{\sqrt{2}} \cdot \left(x \cdot \left(\sqrt[3]{\sqrt{2}} \cdot \sqrt[3]{\sqrt{2}}\right)\right)\right|(FPCore (x) :precision binary64 (sqrt (* (* 2.0 x) x)))
(FPCore (x) :precision binary64 (fabs (* (cbrt (sqrt 2.0)) (* x (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))))))
double code(double x) {
return sqrt((2.0 * x) * x);
}
double code(double x) {
return fabs(cbrt(sqrt(2.0)) * (x * (cbrt(sqrt(2.0)) * cbrt(sqrt(2.0)))));
}



Bits error versus x
Results
Initial program 30.6
rmApplied add-sqr-sqrt_binary64_10030.8
Simplified30.8
Simplified0.7
rmApplied pow1_binary64_1390.7
Applied pow1_binary64_1390.7
Applied pow-prod-down_binary64_1490.7
Simplified0.4
rmApplied add-cube-cbrt_binary64_1130.4
Applied associate-*r*_binary64_180.4
Final simplification0.4
herbie shell --seed 2021176
(FPCore (x)
:name "sqrt B"
:precision binary64
(sqrt (* (* 2.0 x) x)))