Average Error: 0.0 → 0.0
Time: 1.3s
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 r8134 = x;
        double r8135 = y;
        double r8136 = r8134 + r8135;
        double r8137 = 10.0;
        double r8138 = r8136 / r8137;
        return r8138;
}

double f(double x, double y) {
        double r8139 = x;
        double r8140 = y;
        double r8141 = r8139 + r8140;
        double r8142 = 10.0;
        double r8143 = r8141 / r8142;
        return r8143;
}

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