\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r279026 = x;
double r279027 = y;
double r279028 = r279026 + r279027;
double r279029 = r279026 / r279028;
return r279029;
}
double f(double x, double y) {
double r279030 = x;
double r279031 = y;
double r279032 = r279030 + r279031;
double r279033 = r279030 / r279032;
return r279033;
}



Bits error versus x



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