\left(x \cdot y\right) \cdot \left(1 - y\right)
\left(x \cdot \left(1 - y\right)\right) \cdot y
double f(double x, double y) {
double r27136 = x;
double r27137 = y;
double r27138 = r27136 * r27137;
double r27139 = 1.0;
double r27140 = r27139 - r27137;
double r27141 = r27138 * r27140;
return r27141;
}
double f(double x, double y) {
double r27142 = x;
double r27143 = 1.0;
double r27144 = y;
double r27145 = r27143 - r27144;
double r27146 = r27142 * r27145;
double r27147 = r27146 * r27144;
return r27147;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.1
rmApplied add-cube-cbrt0.4
Applied add-cube-cbrt0.4
Applied prod-diff0.4
Applied distribute-lft-in0.4
Simplified0.1
Simplified0.1
Final simplification0.1
herbie shell --seed 2019351 +o rules:numerics
(FPCore (x y)
:name "Statistics.Distribution.Binomial:$cvariance from math-functions-0.1.5.2"
:precision binary64
(* (* x y) (- 1 y)))