x \cdot \left(1 - y \cdot z\right)
\begin{array}{l}
\mathbf{if}\;y \cdot z \leq -8.509709165650549 \cdot 10^{+293} \lor \neg \left(y \cdot z \leq 9.814225087277689 \cdot 10^{+114}\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) -8.509709165650549e+293)
(not (<= (* y z) 9.814225087277689e+114)))
(- 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) <= -8.509709165650549e+293) || !((y * z) <= 9.814225087277689e+114)) {
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) < -8.5097091656505491e293 or 9.81422508727768943e114 < (*.f64 y z) Initial program 24.2
rmApplied sub-neg_binary6424.2
Applied distribute-lft-in_binary6424.2
Simplified24.2
rmApplied distribute-lft-neg-in_binary6424.2
Applied associate-*r*_binary642.6
if -8.5097091656505491e293 < (*.f64 y z) < 9.81422508727768943e114Initial program 0.1
rmApplied sub-neg_binary640.1
Applied distribute-lft-in_binary640.1
Simplified0.1
Final simplification0.4
herbie shell --seed 2020231
(FPCore (x y z)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, I"
:precision binary64
(* x (- 1.0 (* y z))))