x \cdot \left(1 - y\right)
x \cdot 1 + x \cdot \left(-y\right)
double f(double x, double y) {
double r222092 = x;
double r222093 = 1.0;
double r222094 = y;
double r222095 = r222093 - r222094;
double r222096 = r222092 * r222095;
return r222096;
}
double f(double x, double y) {
double r222097 = x;
double r222098 = 1.0;
double r222099 = r222097 * r222098;
double r222100 = y;
double r222101 = -r222100;
double r222102 = r222097 * r222101;
double r222103 = r222099 + r222102;
return r222103;
}



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 2020047
(FPCore (x y)
:name "Data.Colour.RGBSpace.HSV:hsv from colour-2.3.3, H"
:precision binary64
(* x (- 1 y)))