\frac{x + y}{10}\frac{y}{10} + \frac{x}{10}double f(double x, double y) {
double r866108 = x;
double r866109 = y;
double r866110 = r866108 + r866109;
double r866111 = 10.0;
double r866112 = r866110 / r866111;
return r866112;
}
double f(double x, double y) {
double r866113 = y;
double r866114 = 10.0;
double r866115 = r866113 / r866114;
double r866116 = x;
double r866117 = r866116 / r866114;
double r866118 = r866115 + r866117;
return r866118;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied clear-num0.3
rmApplied *-un-lft-identity0.3
Applied add-sqr-sqrt1.0
Applied times-frac0.7
Applied associate-/r*0.3
Simplified0.3
Taylor expanded around 0 1.1
Simplified0.0
Final simplification0.0
herbie shell --seed 2019174
(FPCore (x y)
:name "Text.Parsec.Token:makeTokenParser from parsec-3.1.9, A"
(/ (+ x y) 10.0))