x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \le -8.47236637384432409 \cdot 10^{252} \lor \neg \left(y \cdot z \le 1.02678798003438376 \cdot 10^{175}\right):\\
\;\;\;\;x \cdot 1 + \left(x \cdot z\right) \cdot \left(-y\right)\\
\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)) <= -8.472366373844324e+252) || !(((double) (y * z)) <= 1.0267879800343838e+175))) {
VAR = ((double) (((double) (x * 1.0)) + ((double) (((double) (x * z)) * ((double) -(y))))));
} 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) < -8.472366373844324e+252 or 1.0267879800343838e+175 < (* y z) Initial program 28.4
rmApplied sub-neg28.4
Applied distribute-lft-in28.4
rmApplied *-commutative28.4
Applied distribute-rgt-neg-in28.4
Applied associate-*r*1.1
if -8.472366373844324e+252 < (* y z) < 1.0267879800343838e+175Initial program 0.1
rmApplied sub-neg0.1
Applied distribute-lft-in0.1
Final simplification0.2
herbie shell --seed 2020113
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1 (* y z))))