Average Error: 0.0 → 0.0
Time: 10.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 r12436 = x;
        double r12437 = y;
        double r12438 = r12436 + r12437;
        double r12439 = 10.0;
        double r12440 = r12438 / r12439;
        return r12440;
}

double f(double x, double y) {
        double r12441 = x;
        double r12442 = y;
        double r12443 = r12441 + r12442;
        double r12444 = 10.0;
        double r12445 = r12443 / r12444;
        return r12445;
}

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