x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z = -\infty \lor \neg \left(y \cdot z \le 4.0204742856493946 \cdot 10^{255}\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 temp;
if ((((y * z) <= -inf.0) || !((y * z) <= 4.020474285649395e+255))) {
temp = ((x * 1.0) + ((x * -y) * z));
} else {
temp = ((x * 1.0) + (x * -(y * z)));
}
return temp;
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (* y z) < -inf.0 or 4.020474285649395e+255 < (* y z) Initial program 48.2
rmApplied sub-neg48.2
Applied distribute-lft-in48.2
rmApplied distribute-lft-neg-in48.2
Applied associate-*r*0.3
if -inf.0 < (* y z) < 4.020474285649395e+255Initial program 0.1
rmApplied sub-neg0.1
Applied distribute-lft-in0.1
Final simplification0.1
herbie shell --seed 2020053
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))