x \cdot \left(1 - y \cdot z\right)
x \cdot \mathsf{fma}\left(\sqrt[3]{1} \cdot \sqrt[3]{1}, \sqrt[3]{1}, -z \cdot y\right) + x \cdot \mathsf{fma}\left(-z, y, z \cdot y\right)double code(double x, double y, double z) {
return (x * (1.0 - (y * z)));
}
double code(double x, double y, double z) {
return ((x * fma((cbrt(1.0) * cbrt(1.0)), cbrt(1.0), -(z * y))) + (x * fma(-z, y, (z * y))));
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
Initial program 2.7
rmApplied add-cube-cbrt2.7
Applied prod-diff2.7
Applied distribute-lft-in2.7
Final simplification2.7
herbie shell --seed 2020066 +o rules:numerics
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))