\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r342486 = x;
double r342487 = y;
double r342488 = r342486 + r342487;
double r342489 = r342486 / r342488;
return r342489;
}
double f(double x, double y) {
double r342490 = x;
double r342491 = y;
double r342492 = r342490 + r342491;
double r342493 = r342490 / r342492;
return r342493;
}



Bits error versus x



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