Average Error: 0 → 0
Time: 467.0ms
Precision: binary64
\[a - b\]
\[a - b\]
a - b
a - b
double code(double a, double b) {
	return ((double) (a - b));
}
double code(double a, double b) {
	return ((double) (a - b));
}

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 2020153 
(FPCore (a b)
  :name "(- a b)"
  :precision binary64
  (- a b))