Average Error: 0.0 → 0.0
Time: 17.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 r14913 = x;
        double r14914 = y;
        double r14915 = r14913 + r14914;
        double r14916 = 10.0;
        double r14917 = r14915 / r14916;
        return r14917;
}

double f(double x, double y) {
        double r14918 = x;
        double r14919 = y;
        double r14920 = r14918 + r14919;
        double r14921 = 10.0;
        double r14922 = r14920 / r14921;
        return r14922;
}

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