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



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