\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r297310 = x;
double r297311 = y;
double r297312 = r297310 + r297311;
double r297313 = r297310 / r297312;
return r297313;
}
double f(double x, double y) {
double r297314 = x;
double r297315 = y;
double r297316 = r297314 + r297315;
double r297317 = r297314 / r297316;
return r297317;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
Final simplification0.0
herbie shell --seed 2019326
(FPCore (x y)
:name "AI.Clustering.Hierarchical.Internal:average from clustering-0.2.1, A"
:precision binary64
(/ x (+ x y)))