\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r277288 = x;
double r277289 = y;
double r277290 = r277288 + r277289;
double r277291 = r277288 / r277290;
return r277291;
}
double f(double x, double y) {
double r277292 = x;
double r277293 = y;
double r277294 = r277292 + r277293;
double r277295 = r277292 / r277294;
return r277295;
}



Bits error versus x



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