\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r269240 = x;
double r269241 = y;
double r269242 = r269240 + r269241;
double r269243 = r269240 / r269242;
return r269243;
}
double f(double x, double y) {
double r269244 = x;
double r269245 = y;
double r269246 = r269244 + r269245;
double r269247 = r269244 / r269246;
return r269247;
}



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)))