x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \le -2.227838491618843 \cdot 10^{286} \lor \neg \left(y \cdot z \le 4.3628223280405735 \cdot 10^{201}\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) <= -2.227838491618843e+286) || !((y * z) <= 4.3628223280405735e+201))) {
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) < -2.227838491618843e+286 or 4.3628223280405735e+201 < (* y z) Initial program 34.8
rmApplied sub-neg34.8
Applied distribute-lft-in34.8
rmApplied distribute-lft-neg-in34.8
Applied associate-*r*0.8
if -2.227838491618843e+286 < (* y z) < 4.3628223280405735e+201Initial program 0.1
rmApplied sub-neg0.1
Applied distribute-lft-in0.1
Final simplification0.2
herbie shell --seed 2020106
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))