Average Error: 0.0 → 0.0
Time: 41.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 r704950 = x;
        double r704951 = y;
        double r704952 = r704950 + r704951;
        double r704953 = 10.0;
        double r704954 = r704952 / r704953;
        return r704954;
}

double f(double x, double y) {
        double r704955 = x;
        double r704956 = y;
        double r704957 = r704955 + r704956;
        double r704958 = 10.0;
        double r704959 = r704957 / r704958;
        return r704959;
}

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