Average Error: 0.0 → 0.0
Time: 1.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 r1110 = x;
        double r1111 = y;
        double r1112 = r1110 + r1111;
        double r1113 = 10.0;
        double r1114 = r1112 / r1113;
        return r1114;
}

double f(double x, double y) {
        double r1115 = x;
        double r1116 = y;
        double r1117 = r1115 + r1116;
        double r1118 = 10.0;
        double r1119 = r1117 / r1118;
        return r1119;
}

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