Average Error: 0.0 → 0.0
Time: 3.7s
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 r15549 = x;
        double r15550 = y;
        double r15551 = r15549 + r15550;
        double r15552 = 10.0;
        double r15553 = r15551 / r15552;
        return r15553;
}

double f(double x, double y) {
        double r15554 = x;
        double r15555 = y;
        double r15556 = r15554 + r15555;
        double r15557 = 10.0;
        double r15558 = r15556 / r15557;
        return r15558;
}

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