x \cdot \left(1 - y\right)
x \cdot 1 + x \cdot \left(-y\right)
double f(double x, double y) {
double r276452 = x;
double r276453 = 1.0;
double r276454 = y;
double r276455 = r276453 - r276454;
double r276456 = r276452 * r276455;
return r276456;
}
double f(double x, double y) {
double r276457 = x;
double r276458 = 1.0;
double r276459 = r276457 * r276458;
double r276460 = y;
double r276461 = -r276460;
double r276462 = r276457 * r276461;
double r276463 = r276459 + r276462;
return r276463;
}



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