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



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (* y z) < -inf.0 or 2.783244461009129e+180 < (* y z) Initial program 35.5
rmApplied sub-neg35.5
Applied distribute-lft-in35.5
rmApplied distribute-lft-neg-in35.5
Applied associate-*r*1.3
if -inf.0 < (* y z) < 2.783244461009129e+180Initial program 0.1
rmApplied sub-neg0.1
Applied distribute-lft-in0.1
Final simplification0.2
herbie shell --seed 2020122
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))