x \cdot \left(1 - y\right)
x \cdot 1 + x \cdot \left(-y\right)
double f(double x, double y) {
double r245825 = x;
double r245826 = 1.0;
double r245827 = y;
double r245828 = r245826 - r245827;
double r245829 = r245825 * r245828;
return r245829;
}
double f(double x, double y) {
double r245830 = x;
double r245831 = 1.0;
double r245832 = r245830 * r245831;
double r245833 = y;
double r245834 = -r245833;
double r245835 = r245830 * r245834;
double r245836 = r245832 + r245835;
return r245836;
}



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