Average Error: 0 → 0
Time: 2.1s
Precision: 64
\[a + b\]
\[a + b\]
a + b
a + b
double f(double a, double b) {
        double r1590214 = a;
        double r1590215 = b;
        double r1590216 = r1590214 + r1590215;
        return r1590216;
}

double f(double a, double b) {
        double r1590217 = a;
        double r1590218 = b;
        double r1590219 = r1590217 + r1590218;
        return r1590219;
}

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"
  :precision binary32
  (+ a b))