Average Error: 0.0 → 0.0
Time: 17.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 r9933 = x;
        double r9934 = y;
        double r9935 = r9933 + r9934;
        double r9936 = 10.0;
        double r9937 = r9935 / r9936;
        return r9937;
}

double f(double x, double y) {
        double r9938 = x;
        double r9939 = y;
        double r9940 = r9938 + r9939;
        double r9941 = 10.0;
        double r9942 = r9940 / r9941;
        return r9942;
}

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