Average Error: 0.1 → 0.1
Time: 2.8s
Precision: binary64
\[2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)\]
\[2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)\]
2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)
2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)
double code(double y, double x) {
	return ((double) (2.625 - ((double) (((double) (y * ((double) (1.0 - ((double) pow(x, 1.5)))))) * ((double) (1.0 + ((double) pow(x, 1.5))))))));
}
double code(double y, double x) {
	return ((double) (2.625 - ((double) (((double) (y * ((double) (1.0 - ((double) pow(x, 1.5)))))) * ((double) (1.0 + ((double) pow(x, 1.5))))))));
}

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

    \[2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)\]
  2. Final simplification0.1

    \[\leadsto 2.625 - \left(y \cdot \left(1 - {x}^{1.5}\right)\right) \cdot \left(1 + {x}^{1.5}\right)\]

Reproduce

herbie shell --seed 2020153 
(FPCore (y x)
  :name "(- 2.625 (* (* y (- 1.0 (pow x 1.5))) (+ 1.0 (pow x 1.5))))"
  :precision binary64
  (- 2.625 (* (* y (- 1.0 (pow x 1.5))) (+ 1.0 (pow x 1.5)))))