Average Error: 10.0 → 10.0
Time: 1.0s
Precision: binary64
\[1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)\]
\[1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)\]
1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)
1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)
double code(double x, double y) {
	return ((double) (1.0 - ((double) (((double) (x * x)) * ((double) (1.0 - ((double) (y * y))))))));
}
double code(double x, double y) {
	return ((double) (1.0 - ((double) (((double) (x * x)) * ((double) (1.0 - ((double) (y * y))))))));
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 10.0

    \[1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)\]
  2. Final simplification10.0

    \[\leadsto 1 - \left(x \cdot x\right) \cdot \left(1 - y \cdot y\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y)
  :name "(- 1 (* (* x x) (- 1 (* y y))))"
  :precision binary64
  (- 1.0 (* (* x x) (- 1.0 (* y y)))))