\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r256660 = x;
double r256661 = y;
double r256662 = r256660 + r256661;
double r256663 = r256660 / r256662;
return r256663;
}
double f(double x, double y) {
double r256664 = x;
double r256665 = y;
double r256666 = r256664 + r256665;
double r256667 = r256664 / r256666;
return r256667;
}



Bits error versus x



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