x \cdot \left(1 - y\right)
x \cdot 1 + x \cdot \left(-y\right)
double f(double x, double y) {
double r226247 = x;
double r226248 = 1.0;
double r226249 = y;
double r226250 = r226248 - r226249;
double r226251 = r226247 * r226250;
return r226251;
}
double f(double x, double y) {
double r226252 = x;
double r226253 = 1.0;
double r226254 = r226252 * r226253;
double r226255 = y;
double r226256 = -r226255;
double r226257 = r226252 * r226256;
double r226258 = r226254 + r226257;
return r226258;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied sub-neg0.0
Applied distribute-lft-in0.0
Final simplification0.0
herbie shell --seed 2019353
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H"
:precision binary64
(* x (- 1 y)))