\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r266671 = x;
double r266672 = y;
double r266673 = r266671 + r266672;
double r266674 = r266671 / r266673;
return r266674;
}
double f(double x, double y) {
double r266675 = x;
double r266676 = y;
double r266677 = r266675 + r266676;
double r266678 = r266675 / r266677;
return r266678;
}



Bits error versus x



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