Average Error: 0.0 → 0.0
Time: 664.0ms
Precision: binary64
\[a - b \cdot b\]
\[a - b \cdot b\]
a - b \cdot b
a - b \cdot b
double code(double a, double b) {
	return ((double) (a - ((double) (b * b))));
}
double code(double a, double b) {
	return ((double) (a - ((double) (b * 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.0

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

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

Reproduce

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