x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \le -3.3502047758579421 \cdot 10^{116} \lor \neg \left(y \cdot z \le 1.3130063921631985 \cdot 10^{253}\right):\\
\;\;\;\;x \cdot 1 + \left(x \cdot \left(-y\right)\right) \cdot z\\
\mathbf{else}:\\
\;\;\;\;x \cdot 1 + x \cdot \left(-y \cdot z\right)\\
\end{array}double code(double x, double y, double z) {
return (x * (1.0 - (y * z)));
}
double code(double x, double y, double z) {
double VAR;
if ((((y * z) <= -3.350204775857942e+116) || !((y * z) <= 1.3130063921631985e+253))) {
VAR = ((x * 1.0) + ((x * -y) * z));
} else {
VAR = ((x * 1.0) + (x * -(y * z)));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (* y z) < -3.350204775857942e+116 or 1.3130063921631985e+253 < (* y z) Initial program 21.9
rmApplied sub-neg21.9
Applied distribute-lft-in21.9
rmApplied distribute-lft-neg-in21.9
Applied associate-*r*2.6
if -3.350204775857942e+116 < (* y z) < 1.3130063921631985e+253Initial program 0.1
rmApplied sub-neg0.1
Applied distribute-lft-in0.1
Final simplification0.5
herbie shell --seed 2020079
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))