\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r290735 = x;
double r290736 = y;
double r290737 = r290735 + r290736;
double r290738 = r290735 / r290737;
return r290738;
}
double f(double x, double y) {
double r290739 = x;
double r290740 = y;
double r290741 = r290739 + r290740;
double r290742 = r290739 / r290741;
return r290742;
}



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