Average Error: 0.0 → 0.0
Time: 49.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 r721977 = x;
        double r721978 = y;
        double r721979 = r721977 + r721978;
        double r721980 = 10.0;
        double r721981 = r721979 / r721980;
        return r721981;
}

double f(double x, double y) {
        double r721982 = x;
        double r721983 = y;
        double r721984 = r721982 + r721983;
        double r721985 = 10.0;
        double r721986 = r721984 / r721985;
        return r721986;
}

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.0))