\frac{x}{x + y}\frac{x}{x + y}double f(double x, double y) {
double r293642 = x;
double r293643 = y;
double r293644 = r293642 + r293643;
double r293645 = r293642 / r293644;
return r293645;
}
double f(double x, double y) {
double r293646 = x;
double r293647 = y;
double r293648 = r293646 + r293647;
double r293649 = r293646 / r293648;
return r293649;
}



Bits error versus x



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