Average Error: 0.0 → 0.0
Time: 9.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 r11414 = x;
        double r11415 = y;
        double r11416 = r11414 + r11415;
        double r11417 = 10.0;
        double r11418 = r11416 / r11417;
        return r11418;
}

double f(double x, double y) {
        double r11419 = x;
        double r11420 = y;
        double r11421 = r11419 + r11420;
        double r11422 = 10.0;
        double r11423 = r11421 / r11422;
        return r11423;
}

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