Average Error: 0.0 → 0.0
Time: 738.0ms
Precision: binary64
\[c - a \cdot b\]
\[c - a \cdot b\]
c - a \cdot b
c - a \cdot b
double code(double c, double a, double b) {
	return ((double) (c - ((double) (a * b))));
}
double code(double c, double a, double b) {
	return ((double) (c - ((double) (a * b))));
}

Error

Bits error versus c

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.0

    \[c - a \cdot b\]
  2. Final simplification0.0

    \[\leadsto c - a \cdot b\]

Reproduce

herbie shell --seed 2020152 
(FPCore (c a b)
  :name "(- c (* a b))"
  :precision binary64
  (- c (* a b)))