x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \leq -\infty \lor \neg \left(y \cdot z \leq 7.330407973902672 \cdot 10^{+233}\right):\\
\;\;\;\;x \cdot 1 - z \cdot \left(y \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;x \cdot \left(1 - y \cdot z\right)\\
\end{array}(FPCore (x y z) :precision binary64 (* x (- 1.0 (* y z))))
(FPCore (x y z) :precision binary64 (if (or (<= (* y z) (- INFINITY)) (not (<= (* y z) 7.330407973902672e+233))) (- (* x 1.0) (* z (* y x))) (* x (- 1.0 (* y z)))))
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)) <= ((double) -(((double) INFINITY)))) || !(((double) (y * z)) <= 7.330407973902672e+233))) {
VAR = ((double) (((double) (x * 1.0)) - ((double) (z * ((double) (y * x))))));
} else {
VAR = ((double) (x * ((double) (1.0 - ((double) (y * z))))));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (* y z) < -inf.0 or 7.33040797390267172e233 < (* y z) Initial program 45.0
rmApplied sub-neg45.0
Applied distribute-lft-in45.0
Simplified45.0
rmApplied associate-*r*0.3
if -inf.0 < (* y z) < 7.33040797390267172e233Initial program 0.1
Final simplification0.1
herbie shell --seed 2020198
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1.0 (* y z))))