\frac{x + y}{10}\frac{x}{10} + \frac{y}{10}double f(double x, double y) {
double r3125 = x;
double r3126 = y;
double r3127 = r3125 + r3126;
double r3128 = 10.0;
double r3129 = r3127 / r3128;
return r3129;
}
double f(double x, double y) {
double r3130 = x;
double r3131 = 10.0;
double r3132 = r3130 / r3131;
double r3133 = y;
double r3134 = r3133 / r3131;
double r3135 = r3132 + r3134;
return r3135;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied clear-num0.3
rmApplied div-inv0.4
Applied add-cube-cbrt0.4
Applied times-frac0.4
Simplified0.4
Simplified0.4
rmApplied distribute-lft-in0.4
Simplified0.2
Simplified0.0
Final simplification0.0
herbie shell --seed 2020021
(FPCore (x y)
:name "Text.Parsec.Token:makeTokenParser from parsec-3.1.9, A"
:precision binary64
(/ (+ x y) 10))