Average Error: 0.0 → 0.0
Time: 662.0ms
Precision: binary64
\[y - x \cdot x\]
\[y - x \cdot x\]
y - x \cdot x
y - x \cdot x
double code(double y, double x) {
	return ((double) (y - ((double) (x * x))));
}
double code(double y, double x) {
	return ((double) (y - ((double) (x * x))));
}

Error

Bits error versus y

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[y - x \cdot x\]
  2. Final simplification0.0

    \[\leadsto y - x \cdot x\]

Reproduce

herbie shell --seed 2020152 
(FPCore (y x)
  :name "(- y (* x x))"
  :precision binary64
  (- y (* x x)))