x \cdot \sin y + z \cdot \cos y
\left(\sqrt[3]{x} \cdot \sqrt[3]{x}\right) \cdot \left(\sqrt[3]{x} \cdot \sin y\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) (cbrt x)) (* (cbrt x) (sin y))) (* z (cos y))))
double code(double x, double y, double z) {
return ((double) (((double) (x * ((double) sin(y)))) + ((double) (z * ((double) cos(y))))));
}
double code(double x, double y, double z) {
return ((double) (((double) (((double) (((double) cbrt(x)) * ((double) cbrt(x)))) * ((double) (((double) cbrt(x)) * ((double) sin(y)))))) + ((double) (z * ((double) cos(y))))));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.1
rmApplied add-cube-cbrt0.6
Applied associate-*l*0.6
Simplified0.6
Final simplification0.6
herbie shell --seed 2020198
(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))))