Average Error: 0.0 → 0.0
Time: 5.0s
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 r8466 = x;
        double r8467 = 4.0;
        double r8468 = pow(r8466, r8467);
        double r8469 = y;
        double r8470 = pow(r8469, r8467);
        double r8471 = r8468 - r8470;
        return r8471;
}

double f(double x, double y) {
        double r8472 = x;
        double r8473 = 4.0;
        double r8474 = pow(r8472, r8473);
        double r8475 = y;
        double r8476 = pow(r8475, r8473);
        double r8477 = r8474 - r8476;
        return r8477;
}

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