\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r331191 = x;
double r331192 = y;
double r331193 = r331191 + r331192;
double r331194 = r331191 / r331193;
return r331194;
}
double f(double x, double y) {
double r331195 = x;
double r331196 = y;
double r331197 = r331195 + r331196;
double r331198 = r331195 / r331197;
return r331198;
}



Bits error versus x



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