Average Error: 0 → 0
Time: 842.0ms
Precision: 64
\[a + b\]
\[a + b\]
a + b
a + b
double f(double a, double b) {
        double r23640923 = a;
        double r23640924 = b;
        double r23640925 = r23640923 + r23640924;
        return r23640925;
}

double f(double a, double b) {
        double r23640926 = a;
        double r23640927 = b;
        double r23640928 = r23640926 + r23640927;
        return r23640928;
}

Error

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[a + b\]
  2. Final simplification0

    \[\leadsto a + b\]

Reproduce

herbie shell --seed 1 
(FPCore (a b)
  :name "a+b"
  (+ a b))