Average Error: 0.0 → 0.0
Time: 600.0ms
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 r8383 = x;
        double r8384 = y;
        double r8385 = r8383 + r8384;
        double r8386 = 10.0;
        double r8387 = r8385 / r8386;
        return r8387;
}

double f(double x, double y) {
        double r8388 = x;
        double r8389 = y;
        double r8390 = r8388 + r8389;
        double r8391 = 10.0;
        double r8392 = r8390 / r8391;
        return r8392;
}

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 2019315 
(FPCore (x y)
  :name "Text.Parsec.Token:makeTokenParser from parsec-3.1.9, A"
  :precision binary64
  (/ (+ x y) 10))