\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r236926 = x;
double r236927 = y;
double r236928 = r236926 + r236927;
double r236929 = r236926 / r236928;
return r236929;
}
double f(double x, double y) {
double r236930 = x;
double r236931 = y;
double r236932 = r236930 + r236931;
double r236933 = r236930 / r236932;
return r236933;
}



Bits error versus x



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