\frac{x + y}{10}\frac{x}{10} + \frac{y}{10}double f(double x, double y) {
double r16896 = x;
double r16897 = y;
double r16898 = r16896 + r16897;
double r16899 = 10.0;
double r16900 = r16898 / r16899;
return r16900;
}
double f(double x, double y) {
double r16901 = x;
double r16902 = 10.0;
double r16903 = r16901 / r16902;
double r16904 = y;
double r16905 = r16904 / r16902;
double r16906 = r16903 + r16905;
return r16906;
}



Bits error versus x



Bits error versus y
Results
Initial program 0.0
rmApplied clear-num0.3
Simplified0.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))