Average Error: 0.0 → 0.0
Time: 2.0s
Precision: binary64
\[{x}^{4} - {y}^{4}\]
\[{x}^{4} - {y}^{4}\]
{x}^{4} - {y}^{4}
{x}^{4} - {y}^{4}
double code(double x, double y) {
	return ((double) (((double) pow(x, 4.0)) - ((double) pow(y, 4.0))));
}
double code(double x, double y) {
	return ((double) (((double) pow(x, 4.0)) - ((double) pow(y, 4.0))));
}

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 0.0

    \[{x}^{4} - {y}^{4}\]
  2. Final simplification0.0

    \[\leadsto {x}^{4} - {y}^{4}\]

Reproduce

herbie shell --seed 2020196 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  :precision binary64
  (- (pow x 4.0) (pow y 4.0)))