\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r1288 = x;
double r1289 = y;
double r1290 = r1288 + r1289;
double r1291 = r1288 / r1290;
return r1291;
}
double f(double x, double y) {
double r1292 = x;
double r1293 = y;
double r1294 = r1292 + r1293;
double r1295 = r1292 / r1294;
return r1295;
}



Bits error versus x



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