\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r228006 = x;
double r228007 = y;
double r228008 = r228006 + r228007;
double r228009 = r228006 / r228008;
return r228009;
}
double f(double x, double y) {
double r228010 = x;
double r228011 = y;
double r228012 = r228010 + r228011;
double r228013 = r228010 / r228012;
return r228013;
}



Bits error versus x



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