\left(x + \sin y\right) + z \cdot \cos y
\left(x + \sin y\right) + \left(\left(z \cdot \sqrt{{\left({\left(\cos y\right)}^{2}\right)}^{\frac{1}{3}}}\right) \cdot \sqrt{{\left({\left(\cos y\right)}^{2}\right)}^{\frac{1}{3}}}\right) \cdot \sqrt[3]{\cos y}double code(double x, double y, double z) {
return ((x + sin(y)) + (z * cos(y)));
}
double code(double x, double y, double z) {
return ((x + sin(y)) + (((z * sqrt(pow(pow(cos(y), 2.0), 0.3333333333333333))) * sqrt(pow(pow(cos(y), 2.0), 0.3333333333333333))) * cbrt(cos(y))));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.1
rmApplied add-cube-cbrt0.2
Applied associate-*r*0.2
rmApplied pow1/316.2
Applied pow1/316.2
Applied pow-prod-down0.1
Simplified0.1
rmApplied add-sqr-sqrt0.1
Applied associate-*r*0.1
Final simplification0.1
herbie shell --seed 2020058
(FPCore (x y z)
:name "Graphics.Rasterific.Svg.PathConverter:segmentToBezier from rasterific-svg-0.2.3.1, C"
:precision binary64
(+ (+ x (sin y)) (* z (cos y))))