Average Error: 0.0 → 0.0
Time: 6.6s
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 r157466 = x;
        double r157467 = 4.0;
        double r157468 = pow(r157466, r157467);
        double r157469 = y;
        double r157470 = pow(r157469, r157467);
        double r157471 = r157468 - r157470;
        return r157471;
}

double f(double x, double y) {
        double r157472 = x;
        double r157473 = 4.0;
        double r157474 = pow(r157472, r157473);
        double r157475 = y;
        double r157476 = pow(r157475, r157473);
        double r157477 = r157474 - r157476;
        return r157477;
}

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