Average Error: 0 → 0
Time: 576.0ms
Precision: 64
\[x + x\]
\[x + x\]
x + x
x + x
double f(double x) {
        double r1623036 = x;
        double r1623037 = r1623036 + r1623036;
        return r1623037;
}

double f(double x) {
        double r1623038 = x;
        double r1623039 = r1623038 + r1623038;
        return r1623039;
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[x + x\]
  2. Final simplification0

    \[\leadsto x + x\]

Reproduce

herbie shell --seed 1 
(FPCore (x)
  :name "x + x"
  :precision binary64
  (+ x x))