\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r240124 = x;
double r240125 = y;
double r240126 = r240124 + r240125;
double r240127 = r240124 / r240126;
return r240127;
}
double f(double x, double y) {
double r240128 = x;
double r240129 = y;
double r240130 = r240128 + r240129;
double r240131 = r240128 / r240130;
return r240131;
}



Bits error versus x



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