x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \leq -4.154631948741228 \cdot 10^{+225} \lor \neg \left(y \cdot z \leq 2.006312032697977 \cdot 10^{+237}\right):\\
\;\;\;\;x - z \cdot \left(y \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;x - \left(y \cdot z\right) \cdot x\\
\end{array}(FPCore (x y z) :precision binary64 (* x (- 1.0 (* y z))))
(FPCore (x y z)
:precision binary64
(if (or (<= (* y z) -4.154631948741228e+225)
(not (<= (* y z) 2.006312032697977e+237)))
(- x (* z (* y x)))
(- x (* (* y z) x))))double code(double x, double y, double z) {
return x * (1.0 - (y * z));
}
double code(double x, double y, double z) {
double tmp;
if (((y * z) <= -4.154631948741228e+225) || !((y * z) <= 2.006312032697977e+237)) {
tmp = x - (z * (y * x));
} else {
tmp = x - ((y * z) * x);
}
return tmp;
}



Bits error versus x



Bits error versus y



Bits error versus z
Results
if (*.f64 y z) < -4.15463194874122824e225 or 2.0063120326979771e237 < (*.f64 y z) Initial program 33.1
rmApplied sub-neg_binary6433.1
Applied distribute-rgt-in_binary6433.1
Simplified33.1
Simplified33.1
rmApplied distribute-rgt-neg-in_binary6433.1
Applied associate-*r*_binary640.7
if -4.15463194874122824e225 < (*.f64 y z) < 2.0063120326979771e237Initial program 0.1
rmApplied sub-neg_binary640.1
Applied distribute-rgt-in_binary640.1
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2020268
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1.0 (* y z))))