x \cdot \left(1 - y\right)
x \cdot 1 + x \cdot \left(-y\right)
double f(double x, double y) {
double r286531 = x;
double r286532 = 1.0;
double r286533 = y;
double r286534 = r286532 - r286533;
double r286535 = r286531 * r286534;
return r286535;
}
double f(double x, double y) {
double r286536 = x;
double r286537 = 1.0;
double r286538 = r286536 * r286537;
double r286539 = y;
double r286540 = -r286539;
double r286541 = r286536 * r286540;
double r286542 = r286538 + r286541;
return r286542;
}



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