\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r312296 = x;
double r312297 = y;
double r312298 = r312296 + r312297;
double r312299 = r312296 / r312298;
return r312299;
}
double f(double x, double y) {
double r312300 = x;
double r312301 = y;
double r312302 = r312300 + r312301;
double r312303 = r312300 / r312302;
return r312303;
}



Bits error versus x



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