Average Error: 0.0 → 0.0
Time: 3.7s
Precision: 64
\[{x}^{4} - {y}^{4}\]
\[{x}^{4} - {y}^{4}\]
{x}^{4} - {y}^{4}
{x}^{4} - {y}^{4}
double f(double x, double y) {
        double r37627 = x;
        double r37628 = 4.0;
        double r37629 = pow(r37627, r37628);
        double r37630 = y;
        double r37631 = pow(r37630, r37628);
        double r37632 = r37629 - r37631;
        return r37632;
}

double f(double x, double y) {
        double r37633 = x;
        double r37634 = 4.0;
        double r37635 = pow(r37633, r37634);
        double r37636 = y;
        double r37637 = pow(r37636, r37634);
        double r37638 = r37635 - r37637;
        return r37638;
}

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 2020024 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  :precision binary64
  (- (pow x 4) (pow y 4)))