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



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 0.0
rmApplied add-cube-cbrt_binary640.3
Applied associate-*r*_binary640.3
Final simplification0.3
herbie shell --seed 2020260
(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))))