\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r343876 = x;
double r343877 = y;
double r343878 = r343876 + r343877;
double r343879 = r343876 / r343878;
return r343879;
}
double f(double x, double y) {
double r343880 = x;
double r343881 = y;
double r343882 = r343880 + r343881;
double r343883 = r343880 / r343882;
return r343883;
}



Bits error versus x



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