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



Bits error versus x
Results
Initial program 30.6
Simplified30.6
rmApplied sqrt-prod_binary6430.8
Simplified0.4
rmApplied add-sqr-sqrt_binary640.6
Applied associate-*l*_binary640.4
Simplified0.4
rmApplied add-sqr-sqrt_binary640.4
Applied associate-*l*_binary640.4
Simplified0.4
Taylor expanded around 0 0.3
Simplified0.3
Final simplification0.3
herbie shell --seed 2020233
(FPCore (x)
:name "sqrt E"
:precision binary64
(sqrt (+ (pow x 2.0) (pow x 2.0))))