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



Bits error versus x
Results
Initial program 30.9
Simplified30.9
rmApplied sqrt-prod_binary6431.0
Simplified0.4
rmApplied add-cube-cbrt_binary640.4
Applied associate-*l*_binary640.4
Simplified0.4
rmApplied associate-*l*_binary640.6
Simplified0.4
rmApplied associate-*r*_binary640.4
Final simplification0.4
herbie shell --seed 2021110
(FPCore (x)
:name "sqrt E"
:precision binary64
(sqrt (+ (pow x 2.0) (pow x 2.0))))