Average Error: 0.0 → 0.0
Time: 1.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 r4256 = x;
        double r4257 = y;
        double r4258 = r4256 + r4257;
        double r4259 = 10.0;
        double r4260 = r4258 / r4259;
        return r4260;
}

double f(double x, double y) {
        double r4261 = x;
        double r4262 = y;
        double r4263 = r4261 + r4262;
        double r4264 = 10.0;
        double r4265 = r4263 / r4264;
        return r4265;
}

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