x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \leq -1.7449673406235985 \cdot 10^{+115} \lor \neg \left(y \cdot z \leq 1.0069146892886103 \cdot 10^{+242}\right):\\
\;\;\;\;x \cdot 1 - z \cdot \left(y \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot 1 - \left(y \cdot z\right) \cdot x\\
\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)) <= -1.7449673406235985e+115) || !(((double) (y * z)) <= 1.0069146892886103e+242))) {
VAR = ((double) (((double) (x * 1.0)) - ((double) (z * ((double) (y * x))))));
} else {
VAR = ((double) (((double) (x * 1.0)) - ((double) (((double) (y * z)) * x))));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (* y z) < -1.74496734062359847e115 or 1.0069146892886103e242 < (* y z) Initial program Error: 20.1 bits
rmApplied sub-negError: 20.1 bits
Applied distribute-lft-inError: 20.1 bits
SimplifiedError: 20.1 bits
rmApplied associate-*r*Error: 2.4 bits
if -1.74496734062359847e115 < (* y z) < 1.0069146892886103e242Initial program Error: 0.1 bits
rmApplied sub-negError: 0.1 bits
Applied distribute-lft-inError: 0.1 bits
SimplifiedError: 0.1 bits
Final simplificationError: 0.4 bits
herbie shell --seed 2020200
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1.0 (* y z))))