Average Error: 0.0 → 0.0
Time: 46.1s
Precision: 64
\[\frac{x + y}{10}\]
\[\frac{x + y}{10}\]
\frac{x + y}{10}
\frac{x + y}{10}
double f(double x, double y) {
        double r15160 = x;
        double r15161 = y;
        double r15162 = r15160 + r15161;
        double r15163 = 10.0;
        double r15164 = r15162 / r15163;
        return r15164;
}

double f(double x, double y) {
        double r15165 = x;
        double r15166 = y;
        double r15167 = r15165 + r15166;
        double r15168 = 10.0;
        double r15169 = r15167 / r15168;
        return r15169;
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{x + y}{10}\]
  2. Final simplification0.0

    \[\leadsto \frac{x + y}{10}\]

Reproduce

herbie shell --seed 2019200 
(FPCore (x y)
  :name "Text.Parsec.Token:makeTokenParser from parsec-3.1.9, A"
  (/ (+ x y) 10))