\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r237667 = x;
double r237668 = y;
double r237669 = r237667 + r237668;
double r237670 = r237667 / r237669;
return r237670;
}
double f(double x, double y) {
double r237671 = x;
double r237672 = y;
double r237673 = r237671 + r237672;
double r237674 = r237671 / r237673;
return r237674;
}



Bits error versus x



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