Average Error: 0 → 0
Time: 497.0ms
Precision: binary64
\[h1 + h2\]
\[h1 + h2\]
h1 + h2
h1 + h2
double code(double h1, double h2) {
	return ((double) (h1 + h2));
}
double code(double h1, double h2) {
	return ((double) (h1 + h2));
}

Error

Bits error versus h1

Bits error versus h2

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0

    \[h1 + h2\]
  2. Final simplification0

    \[\leadsto h1 + h2\]

Reproduce

herbie shell --seed 2020153 
(FPCore (h1 h2)
  :name "(+ h1 h2)"
  :precision binary64
  (+ h1 h2))