Average Error: 0.0 → 0.0
Time: 3.5s
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 r16534 = x;
        double r16535 = y;
        double r16536 = r16534 + r16535;
        double r16537 = 10.0;
        double r16538 = r16536 / r16537;
        return r16538;
}

double f(double x, double y) {
        double r16539 = x;
        double r16540 = y;
        double r16541 = r16539 + r16540;
        double r16542 = 10.0;
        double r16543 = r16541 / r16542;
        return r16543;
}

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