\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r272630 = x;
double r272631 = y;
double r272632 = r272630 + r272631;
double r272633 = r272630 / r272632;
return r272633;
}
double f(double x, double y) {
double r272634 = x;
double r272635 = y;
double r272636 = r272634 + r272635;
double r272637 = r272634 / r272636;
return r272637;
}



Bits error versus x



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