x \cdot \sin y + z \cdot \cos y
\sqrt[3]{x \cdot \sin y} \cdot \left(\sqrt[3]{x} \cdot \left(\sqrt[3]{x \cdot \sin y} \cdot \sqrt[3]{\sin y}\right)\right) + z \cdot \cos y(FPCore (x y z) :precision binary64 (+ (* x (sin y)) (* z (cos y))))
(FPCore (x y z) :precision binary64 (+ (* (cbrt (* x (sin y))) (* (cbrt x) (* (cbrt (* x (sin y))) (cbrt (sin y))))) (* z (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 (cbrt(x * sin(y)) * (cbrt(x) * (cbrt(x * sin(y)) * cbrt(sin(y))))) + (z * cos(y));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.1
rmApplied add-cube-cbrt_binary640.6
rmApplied cbrt-prod_binary640.6
Applied associate-*l*_binary640.6
Simplified0.6
Final simplification0.6
herbie shell --seed 2020232
(FPCore (x y z)
:name "Diagrams.ThreeD.Transform:aboutX from diagrams-lib-1.3.0.3, B"
:precision binary64
(+ (* x (sin y)) (* z (cos y))))