Average Error: 0.0 → 0.0
Time: 4.4s
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 r954596 = x;
        double r954597 = 4.0;
        double r954598 = pow(r954596, r954597);
        double r954599 = y;
        double r954600 = pow(r954599, r954597);
        double r954601 = r954598 - r954600;
        return r954601;
}

double f(double x, double y) {
        double r954602 = x;
        double r954603 = 4.0;
        double r954604 = pow(r954602, r954603);
        double r954605 = y;
        double r954606 = pow(r954605, r954603);
        double r954607 = r954604 - r954606;
        return r954607;
}

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 2019172 
(FPCore (x y)
  :name "Radioactive exchange between two surfaces"
  (- (pow x 4.0) (pow y 4.0)))