Average Error: 0 → 0
Time: 478.0ms
Precision: binary64
\[x1 + x2\]
\[x1 + x2\]
x1 + x2
x1 + x2
double code(double x1, double x2) {
	return ((double) (x1 + x2));
}
double code(double x1, double x2) {
	return ((double) (x1 + x2));
}

Error

Bits error versus x1

Bits error versus x2

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[x1 + x2\]
  2. Final simplification0

    \[\leadsto x1 + x2\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x1 x2)
  :name "(+ x1 x2)"
  :precision binary64
  (+ x1 x2))