Average Error: 0.0 → 0.0
Time: 8.9s
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 r1468850 = x;
        double r1468851 = y;
        double r1468852 = r1468850 + r1468851;
        double r1468853 = 10.0;
        double r1468854 = r1468852 / r1468853;
        return r1468854;
}

double f(double x, double y) {
        double r1468855 = x;
        double r1468856 = y;
        double r1468857 = r1468855 + r1468856;
        double r1468858 = 10.0;
        double r1468859 = r1468857 / r1468858;
        return r1468859;
}

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